File I/O for Game Developers: Past, Present, and FutureFile Allocation Table • Root directoryMORE RAM, MORE DISK CAPACITY • FAT16 • File Allocation Table • Root directory • EntryMORE RAM, MORE DISK CAPACITY • FAT16 • File Allocation Table • Root directory 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" Davidson, June 15, 2018” int main0 码力 | 64 页 | 2.69 MB | 6 月前3
Class Layouthas a virtual function, every object of that type contains a pointer to a shared virtual function table. class B { public: virtual int f1(); virtual void f2(int); virtual int f3(int); ~~~ }; B *bp = new A single destructor will be often represented by two separate entries in the virtual function table; one is a “destroy and delete” destructor, while the other only destroys. 48 Copyright © 2020 by Calling Sequence The virtual calling sequence is indirect through the object’s virtual function table. The call bp‐>f1(); Is translated to something like (*(bp‐>vptr)[0])(bp) 49 B members bp0 码力 | 51 页 | 461.37 KB | 6 月前3
Secrets of C++ Scripting Bindingscom/idocpp Why This Talk? ~2006 - I started looking at embedding scripting engine in C++ Learned about SWIG Learned that Python is wrong for embedding (Global state), chose Lua 2008 - Created SWIG Starter Boost::Python? Boost::Python (and similar later tools) are great, but Python was never intended for embedding, presents a crossplatform headache, and shared global state is a problem. 5 . 2Copyright Jason is mature Lua is designed for embedding 6 . 2Copyright Jason Turner @le�icus emptycrate.com/idocpp What About Sol2 / Luabind? Lua is mature Lua is designed for embedding If sol2 was a thing when I started0 码力 | 177 页 | 1.65 MB | 6 月前3
Conan 2.0 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.0.17 2 CONTENTS CHAPTER ONE INTRODUCTION in the consumer. The 3 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.1 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.1.0 2 CONTENTS CHAPTER ONE INTRODUCTION in the consumer. The 4 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 2.3 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.3.2 2 CONTENTS CHAPTER ONE INTRODUCTION in the consumer. The 4 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.5 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.5.0 2 CONTENTS CHAPTER ONE INTRODUCTION the dependency. The 4 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.2 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.2.3 2 CONTENTS CHAPTER ONE INTRODUCTION in the consumer. The 4 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 718 页 | 4.46 MB | 1 年前3
Conan 2.4 Documentationtracker. The main support channel, file issues here for questions, bug reports and feature requests. Table of contents: CONTENTS 1 Conan Documentation, Release 2.4.1 2 CONTENTS CHAPTER ONE INTRODUCTION the dependency. The 4 different attributes are: • package_id_embed_mode: Define the mode for “embedding” cases, that is, a shared library linking a static library, an application linking a static library The default for this mode is full_mode • package_id_non_embed_mode. Define the mode for “non-embedding” cases, that is, a shared library linking another shared library, a static library linking another0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 1.3 Documentationis also the option to generate a table for all binaries from a given recipe with the --table option, even in remotes: $ conan search zlib/1.2.11@conan/stable --table=file.html -r=conan-center $ file.html implemented a source() method that fetched the source code from github. An alternative approach would be embedding the source code into the package recipe, so it is self-contained and it doesn’t require to fetch different ways, so maybe you are wondering what setting do you need to specify in your case. Here is a table with some typical ARM platorms: Platform Conan setting Raspberry PI 1 armv6 Raspberry PI 2 armv70 码力 | 397 页 | 2.77 MB | 1 年前3
共 148 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













