File I/O for Game Developers: Past, Present, and FutureFILE 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 | 6 月前3
Concurrency Patterns I0 码力 | 39 页 | 1.14 MB | 6 月前3
Why I Was Wrong About
TypeScriptWhy 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 年前3
Nim Tutorial (Part I) 0.17.1N 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 年前3
angular2 mock test isupplied 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 年前3
Elasticity and state migration: Part I - CS 591 K1: Data Stream Processing and Analytics Spring 2020dataflow 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 年前3
Python 标准库参考指南 3.11.10 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 i 4.10 映射类型 --- dict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 960 18 网络和进程间通信 963 18.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 963 18.1.1 运行器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1122 18.4 select --- 等待 I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1123 18.4.1 /dev/poll0 码力 | 2399 页 | 11.19 MB | 9 月前3
Python 标准库参考指南 3.10.15 --- dict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 i 4.10.1 字典视图对象 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 893 18 网络和进程间通信 897 18.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 897 18.1.1 协程与任务 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1042 18.4 select --- 等待 I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043 18.4.1 /dev/poll0 码力 | 2207 页 | 10.45 MB | 9 月前3
Python 标准库参考指南 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 运行器 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049 18.4 select --- 等待 I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049 18.4.1 /dev/poll0 码力 | 2248 页 | 11.10 MB | 9 月前3
Python 标准库参考指南 3.8.20 6.6 stringprep --- 因特网字符串预备 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 i 6.7 readline --- GNU readline 接口 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . threading 模块。 . . . . . . . . . . . . . . . . . . . . . . 847 18 网络和进程间通信 849 18.1 asyncio --- 异步 I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849 18.2 socket . . . . . . . . . 958 18.4 select --- 等待 I/O 完成 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 992 18.5 selectors --- 高级 I/O 复用库 . . . . . . . . . . . . . . . . . . .0 码力 | 2052 页 | 9.74 MB | 9 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













