Skip to content

Instantly share code, notes, and snippets.

View J-Vernay's full-sized avatar

Julien VERNAY J-Vernay

View GitHub Profile
@J-Vernay
J-Vernay / native_build_proposal.md
Last active November 24, 2020 11:43
(DRAFT) <native_build> proposal

(DRAFT) Proposal for <native_build> in C++23

Abstract

This document proposes an extension of the C++ standard library. This is an informal draft for a proposal: its aim is to get feedback from other C++ users and implementers. Basically, this proposal provides a starting point to use C++ as a basis for C++ build systems. For this, it provides the minimal C++ header <native_build> which is implemented by the compiler maintainers. It defines new types (which are basically strong-typed alias of std::filesystem::path), a new templated function build(...) for building the project, and run(...) for running an executable. It has also a permissive requirement: programs using `` are only required to work on the machine

@J-Vernay
J-Vernay / game.txt
Created July 29, 2019 10:11
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[2277,"0",4,"d",155,"0",7,"d",152,"0",10,"d",149,"0",13,"d",147,"0",15,"d",144,"0",18,"d",142,"0",6,"d",2,"0",12,"d",65,"0",13,"5",61,"0",6,"d",5,"0",12,"d",62,"0",15,"5",60,"0",6,"d",7,"0",12,"d",59,"0",18,"5",58,"0",5,"d",10,"0",12,"d",56,"0",20,"5",57,"0",5,"d",12,"0",12,"d",53,"0",22,"5",55,"0",6,"d",14,"0",12,"d",50,"0",24,"5",54,"0",6,"d",16,"0",11,"d",10,"0",4,"6",34,"0",26,"5",53,"0",5,"d",19,"0",11,"d",7,"0",6,"6",32,"0",28,"5",52,"0",5,"d",21,"0",10,"d",5,"0",8,"6",31,"0",29,"5",51,"0",6,"d",22,"0",10,"d",3,"0",9,"6",29,"0",31,"5",50,"0",6,"d",24,"0",9,"d",1,"0",10,"6",28,"0",33,"5",50,"0",5,"d",25,"0",9,"d",10,"6",27,"0",34,"5",50,"0",5,"d",27,"0",7,"d",11,"6",4,"0",4,"d",18,"0",35,"5",49,"0",6,"d",27,"0",5,"d",12,"6",2,"0",7,"d",16,"0",36,"5",49,"0",6,"d",29,"0",3,"d",12,"6",10,"d",14,"0",37,"5",50,"0",5,"d",30,"0",2,"d",12,"6",10,"d",14,"0",37,"5",50,"0",6,"d",30,"0",14,"6",10,"d",13,"0",37,"5",50,"0",6,"d",30,"0",14,"6",10,"d",12,"0",38,"5",51,"0",6,"
@J-Vernay
J-Vernay / game.txt
Created July 29, 2019 10:11
flickgame
{"canvasses":[[1991,"0",12,"1",111,"0",19,"1",106,"0",25,"1",101,"0",29,"1",97,"0",33,"1",93,"0",16,"1",8,"0",12,"1",90,"0",13,"1",15,"0",11,"1",88,"0",11,"1",21,"0",9,"1",86,"0",10,"1",25,"0",8,"1",84,"0",9,"1",29,"0",6,"1",83,"0",8,"1",32,"0",6,"1",81,"0",7,"1",34,"0",6,"1",81,"0",6,"1",36,"0",6,"1",80,"0",5,"1",37,"0",6,"1",80,"0",5,"1",37,"0",6,"1",81,"0",3,"1",38,"0",6,"1",75,"0",6,"1",40,"0",6,"1",75,"0",10,"1",35,"0",8,"1",75,"0",16,"1",23,"0",13,"1",76,"0",51,"1",78,"0",49,"1",83,"0",44,"1",87,"0",39,"1",95,"0",27,"1",2219,"0"],[692,"0",3,"1",124,"0",5,"1",16,"0",3,"1",40,"0",3,"1",60,"0",6,"1",15,"0",5,"1",38,"0",5,"1",58,"0",7,"1",15,"0",5,"1",38,"0",5,"1",58,"0",6,"1",16,"0",5,"1",38,"0",5,"1",58,"0",5,"1",16,"0",6,"1",38,"0",5,"1",58,"0",5,"1",16,"0",6,"1",38,"0",5,"1",58,"0",5,"1",16,"0",5,"1",39,"0",5,"1",57,"0",6,"1",16,"0",5,"1",39,"0",5,"1",57,"0",6,"1",15,"0",6,"1",6,"0",3,"1",30,"0",5,"1",57,"0",5,"1",16,"0",6,"1",5,"0",5,"1",29,"0",5,"1",57,"0",5,"1",16,"0",5,"1",6,"0",5,"1",29,"0",5,"1",5
@J-Vernay
J-Vernay / game.txt
Created July 29, 2019 10:10
flickgame
{"canvasses":[[1991,"0",12,"1",111,"0",19,"1",106,"0",25,"1",101,"0",29,"1",97,"0",33,"1",93,"0",16,"1",8,"0",12,"1",90,"0",13,"1",15,"0",11,"1",88,"0",11,"1",21,"0",9,"1",86,"0",10,"1",25,"0",8,"1",84,"0",9,"1",29,"0",6,"1",83,"0",8,"1",32,"0",6,"1",81,"0",7,"1",34,"0",6,"1",81,"0",6,"1",36,"0",6,"1",80,"0",5,"1",37,"0",6,"1",80,"0",5,"1",37,"0",6,"1",81,"0",3,"1",38,"0",6,"1",75,"0",6,"1",40,"0",6,"1",75,"0",10,"1",35,"0",8,"1",75,"0",16,"1",23,"0",13,"1",76,"0",51,"1",78,"0",49,"1",83,"0",44,"1",87,"0",39,"1",95,"0",27,"1",2219,"0"],[692,"0",3,"1",124,"0",5,"1",16,"0",3,"1",40,"0",3,"1",60,"0",6,"1",15,"0",5,"1",38,"0",5,"1",58,"0",7,"1",15,"0",5,"1",38,"0",5,"1",58,"0",6,"1",16,"0",5,"1",38,"0",5,"1",58,"0",5,"1",16,"0",6,"1",38,"0",5,"1",58,"0",5,"1",16,"0",6,"1",38,"0",5,"1",58,"0",5,"1",16,"0",5,"1",39,"0",5,"1",57,"0",6,"1",16,"0",5,"1",39,"0",5,"1",57,"0",6,"1",15,"0",6,"1",6,"0",3,"1",30,"0",5,"1",57,"0",5,"1",16,"0",6,"1",5,"0",5,"1",29,"0",5,"1",57,"0",5,"1",16,"0",5,"1",6,"0",5,"1",29,"0",5,"1",5
@J-Vernay
J-Vernay / Vec2f.hpp
Created August 6, 2018 11:08
Vec2f and Pointf in C++
/*
Copyright 2018 Julien Vernay - MIT License
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions: