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 Why do we have files? • What is a filesystem? • Why should we avoid buffered file IO? • How do we optimise unbuffered file IO? • How might the standard help us in future?AGENDA • Sub-megabyte days • More RAM, more disk capacity • Moving data into and out of RAM • File IO in C++ from fstream to the OS SDK • The 64-bit address spaceSUB-MEGABYTE DAYS • Why do we have files?SUB- MEGABYTE DAYSSUB-0 码力 | 64 页 | 2.69 MB | 6 月前3
Django CMS 3.9.x DocumentationPython files are associated correctly if that doesn’t work right away: assoc .py=Python.file ftype Python.File="C:\Users\Username\workspace\demo\env\Scripts\python.exe" "%1" %* By default, the installer sufficient for the purposes of this tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin contains a single placeholder, {% placeholder "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template0 码力 | 417 页 | 1.68 MB | 6 月前3
Django CMS 3.8.x DocumentationPython files are associated correctly if that doesn’t work right away: assoc .py=Python.file ftype Python.File="C:\Users\Username\workspace\demo\env\Scripts\python.exe" "%1" %* By default, the installer sufficient for the purposes of this tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin contains a single placeholder, {% placeholder "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template0 码力 | 413 页 | 1.67 MB | 6 月前3
Django CMS 4.0.x Documentationsure Python files are associated correctly if that doesn’t work right away: assoc .py=Python.file ftype Python.File="C:\Users\Username\workspace\demo\env\Scripts\python.exe" "%1" %* By default, the installer sufficient for the purposes of this tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin contains a single placeholder, {% placeholder "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template0 码力 | 296 页 | 1.79 MB | 6 月前3
Django CMS 3.9.x Documentationsure Python files are associated correctly if that doesn’t work right away: assoc .py=Python.file ftype Python.File="C:\Users\Username\workspace\demo\env\Scripts\python.exe" "%1" %* By default, the installer sufficient for the purposes of this tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin contains a single placeholder, {% placeholder "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template0 码力 | 298 页 | 1.79 MB | 6 月前3
Django CMS 3.11.10 Documentationyou will only need to modify the settings.py and urls.py files. Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 2/ref/templates/language/#template-inheritance] for more on how template inheritance works. Media and static file handling A django CMS site will need to handle: static files, that are a core part of an application be stored) need to be added to your settings: For deployment, you need to configure suitable media file serving. For development purposes only, the following will work in your urls.py: (See the Django documentation0 码力 | 493 页 | 1.44 MB | 6 月前0.03
Django CMS 3.0.x Documentationsure Python files are associated correctly if that doesn’t work right away: assoc .py=Python.file ftype Python.File="C:\Users\Username\workspace\demo\env\Scripts\python.exe" "%1" %* For the purposes of this placeholder "feature" %} and {% placeholder "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required templatetag library. If you’re not already familiar with Django templatetags Model. 5.1. Tutorials 13 django cms Documentation, Release 3.0.19.dev1 The Plugin Class Now create a file cms_plugins.py in the same folder your models.py is in. The plugin class is responsible for providing0 码力 | 180 页 | 1.56 MB | 6 月前3
Django CMS 4.1.x Documentationyou will only need to modify the settings.py and urls.py files. Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 2/ref/templates/language/#template-inheritance] for more on how template inheritance works. Media and static file handling A django CMS site will need to handle: static files, that are a core part of an application be stored) need to be added to your settings: For deployment, you need to configure suitable media file serving. For development purposes only, the following will work in your urls.py: (See the Django documentation0 码力 | 518 页 | 1.66 MB | 6 月前3
Django CMS 2.3.x Documentationhtml5lib will be installed automatically. Recommended • django-filer with its django CMS plugins, file and image management application to use instead of some core plugins • django-reversion 1.6, to support fix resolve this, as the whole context is now saved in cache along with the rendered templates. Permissions cache performance issue fix backported When a page is saved and cache is enabled, an explicit cache do so will lead to a ValueError. This change was done to allow the django CMS to properly check permissions on Placeholder Fields. 1.4. 2.3.4 release notes 5 django cms Documentation, Release 2.3.8 Two0 码力 | 92 页 | 666.41 KB | 6 月前3
Django CMS 2.4.x Documentationuseful functionality with minimal additional configuration and are well-proven. File and image handling • Django Filer for file and image management • django-filer plugins for django-cms, required to use Django packages one at a time using pip, but we recommend using a requirements.txt file. The following is an example requirements.txt file that can be used with pip to install django-cms and its dependencies: # Bare process, all the migrations for the cms application have been consolidated into a single migration file, 0001_initial.py. • migration 0001 is a real migration, that gets you to the same point migrations0 码力 | 104 页 | 709.98 KB | 6 月前3
共 316 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32













