public marks

PUBLIC MARKS from sylvainulg with tag programming

This year


Chapter 8. Managing releases and branchy development

You can create a local tag with the -l option to the hg tag command


Vector Operators | Programming with OpenCL C | InformIT

float4 vf = (float4)(3.0f, -1.0f, 1.0f, -2.0f); float4 result = vf * 2;

big book by the maintainer of linux manpages.


Make Refcard

The directory part and the file-within-directory part of $@ ... The directory part and the file-within-directory part of $@ ...


Protocol Buffers - Wikipedia, the free encyclopedia

Protocol Buffers are a method of serializing structured data. As such, they are useful in developing programs to communicate with each other over a wire or for storing data. An engineer defines data structures (called messages) and services in a proto definition file (.proto) and compiles that with protoc. This compilation generates code that can be invoked by a sender or recipient of these data structures. For example, example.proto will produce and example.pb.h which will define C++ classes for each message and service example.proto defines. Protocol Buffers are serialized into a binary wire format which is compact, forwards-compatible, backwards-compatible, but not self-describing.

CUDA: Unifying Host/Device Interactions with a Single C++ Macro | Dr Dobb's

Guaranteeing that all the devices can use the layout of a C++ object is constant challenge for CUDA C++ programmers [...] [there] has been a revision to the C++ type_traits definitions. Key to this article are the is_standard_layout() and the more general is_trivially_copyable() methods to check the copyability of a C++ class:

PTX ISA :: CUDA Toolkit Documentation

impressive level of control on the cache policies from the assembly language.

Cliffski's Blog | How to stay motivated whilst programming a game

On a related note, save up some ‘fun’ coding for when motivation is low. Feeling keen? code the save game system and the options menu. Get them out of the way.