File I/O for Game Developers: Past, Present, and Future
FILE I/O: PAST, PRESENT AND FUTURE CPPCON OCTOBER 3RD 2023 GUY DAVIDSON @HATCAT01INTRODUCTIONS • Head of Engineering Practice at Creative Assembly • 1980 – Acorn Atom • ISO/IEC JTC1/SC22/WG21 • BSI RAM, MORE DISK CAPACITY • Formatted i/o – scanf printf • Direct i/o – fread fwrite • File positioning – ftell fgetpos fseek fsetpos rewind • Unformatted i/o – fgetc/fgets fputc/fputs getchar putchar interface Secondary interfaceTHE 64-BIT ADDRESS SPACE • https://wg21.link/p1040 • “I’m very keen on std::embed. I’ve been hand-embedding data in executables for NEARLY FORTY YEARS now. — Guy "Hatcat"0 码力 | 64 页 | 2.69 MB | 5 月前3Concurrency Patterns I
0 码力 | 39 页 | 1.14 MB | 5 月前3Why I Was Wrong About TypeScript
Why I Was Wrong About TypeScript TJ VanToll TypeScript TypeScript TypeScript Why I Was Wrong About TypeScript Whether TypeScript is a good fit for your next project Why I Was Wrong About PHP, and way more. Why I Was Wrong About TypeScript ✉ “We risk a lot by building our core on top of TypeScript.” “I don’t hear anyone talking about TypeScript.” “I like to keep my JavaScript JavaScript pure, as God intended.” Why I Was Wrong About TypeScript Why? 3 reasons 1) Commitment to the ECMAScript standard “Some examples [of compile-to-JavaScript frameworks], like Dart, portend0 码力 | 61 页 | 3.65 MB | 1 年前3Nim Tutorial (Part I) 0.17.1
N i m T u t o r i a l ( P a r t I ) 0 . 1 7 . 1 Andr e a s R umpf Aug us t 1 9 , 2 0 1 7 C o nt e nt s 1 I n t r od u c t i on 2 2 Th e fi r s t p r ogr am 2 3 L e x i c al e l e m e n t s 2 3. 1 1 S t r i n g an d c h ar ac t e r l i t e r al s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3. 2 C om m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ar s t at e m e n t 3 5 Th e as s i gn m e n t s t at e m e n t 3 6 C on s t an t s 4 7 Th e l e t s t at e m e n t 4 8 C on t r ol fl ow s t at e m e n t s 4 8. 1 I f s t at e m e n t . . . . . . .0 码力 | 24 页 | 271.23 KB | 1 年前3angular2 mock test i
supplied with a mock test key to let you verify the final score and grade yourself. ANGULAR 2 MOCK TEST I Q 1 - Which of the following is correct about Angular 2 Components? A - AngularJS had a focus of Controllers0 码力 | 4 页 | 83.79 KB | 1 年前3Elasticity and state migration: Part I - CS 591 K1: Data Stream Processing and Analytics Spring 2020
dataflow with sources S1, S2, … Sn and rates λ1, λ2, … λn identify the minimum parallelism πi per operator i, such that the physical dataflow can sustain all source rates. S1 S2 λ1 λ2 S1 S2 π=2 serialization send message waiting waiting 13 ??? Vasiliki Kalavri | Boston University 2020 14 o1 src o2 back-pressure target: 40 rec/s 10 rec/s 100 rec/s Which operator is the bottleneck? What if Boston University 2020 14 o1 src o2 back-pressure target: 40 rec/s 10 rec/s 100 rec/s Which operator is the bottleneck? What if we scale ο1 x 4? How much to scale ο2? o1 cannot keep up waiting for0 码力 | 93 页 | 2.42 MB | 1 年前3Python 标准库参考指南 3.7.13
二进制数据服务 135 7.1 struct --- 将字节串解读为打包的二进制数据 . . . . . . . . . . . . . . . . . . . . . . . . . 135 i 7.2 codecs --- 编解码器注册和相关基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 8 数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752 19 网络和进程间通信 753 19.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753 19.2 socket --- . . . . . . . 849 19.4 select --- Waiting for I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880 19.5 selectors --- 高级 I/O 复用库 . . . . . . . . . . . . . . . . . . . . . .0 码力 | 1846 页 | 9.09 MB | 9 月前3Python 标准库参考指南 3.7.13
readline --- GNU readline 接口 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 i 6.8 rlcompleter --- GNU readline 的补全函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 . . . . . . . . . . . . . . . . . . . . . . . . . 796 iii 19 网络和进程间通信 797 19.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797 19.2 socket . . . . . . 901 19.4 select --- Waiting for I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 934 19.5 selectors --- 高级 I/O 复用库 . . . . . . . . . . . . . . . . . . . . .0 码力 | 1961 页 | 9.14 MB | 9 月前3Python 标准库参考指南 3.11.10
4.12 类型注解的类型 --- Generic Alias 、Union . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 i 4.12.1 GenericAlias 类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 896 18 网络和进程间通信 899 18.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899 18.1.1 运行器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1042 18.3.6 关于非阻塞套接字的说明 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044 18.3.7 内存 BIO 支持 . .0 码力 | 2248 页 | 11.10 MB | 9 月前3Python 标准库参考指南 3.11.10
集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 i 4.10 映射类型 --- dict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 960 18 网络和进程间通信 963 18.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 963 18.1.1 运行器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1115 18.3.6 关于非阻塞套接字的说明 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1118 18.3.7 内存 BIO 支持0 码力 | 2399 页 | 11.19 MB | 9 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100