github.com/foonathan/cppast

Just played around with this, a wrapper to Clang's AST that makes it super easy to traverse.

You create a parser that can take in a list of headers/source files, and specify any defines, flags, or include directories you want. From there it gives you an AST that can be traversed to check for docstrings (`/// or /**`), class names, members, `public/private` keywords, `[[attribute]]` tags, base classes, if its a struct or a class, and any error messages from clang!

Been working on a really awesome library for creating cross platform apps using any windowing protocol you want (Win32, UWP, Cocoa, UIKit, XCB, XLib, Mir, Wayland, WebAssembly) for quickly getting apps off the ground:

github.com/alaingalvan/CrossWi

Still a WIP but it's coming along really well, with sister libraries to help create apps using any graphics API, and cross window, cross graphics API demos working. <3

was insane! Good to be back. All sorts of talks on Vulkan, HDR, Real-Time Raytracing, roundtable discussions about VFX, sound programming, etc. :D

So writing a parser isn't too tough, using a library called Bison to parse languages in an attempt to make a transpiler designed similarly to libraries like PostCSS.

github.com/alaingalvan/sparkle

It's a WIP but we'll see where this goes. :3

I love Visual Studio as much as the next guy for but when it comes to errors and warnings XCode has it beat.

Hopefully Microsoft will get the ball rolling with Visual Studio 2018 along with C++ modules. :D

So it turns out the Metal shader compiler has a for loop unrolling problem. Interesting how it differs from HLSL's compiler that way...

This week I've been reading Understanding Compression, an O'Reilly book about data compression. After looking at companies like binomial.info doing it and Google summer of code cases where PhD students improved download speeds for Google Play, it got really interesting.

How often do you think about compression, it could help your app out one way or another. ;)

octodon.social/media/wCH_PQgZm

Add on top of that Rust's first class unit testing, doc generation with markdown, and best of all: focus on safety and you've got a really stable server. :)

Show thread

Been working on a web backend with and Rocket.

Normally a Node.js + Express server has a 33 ms local latency and uses 660 mb of ram, so it was a really pleasant surprise to see the Rocket use only 2 mb of ram and have a 22 ms local latency.

alain.xyz/portfolio

Updated my site with some of the projects I've been working on:

- CodeVR for virtual reality programming
- Raw Graphics, a graphics twitch stream/podcast
- React Anime, a react animation library
- Realtime Celestial Rendering, a research paper.

octodon.social/media/ZH213xCpt

Currently setting up the distance field font rendering system.

github.com/Chlumsky/msdfgen

It's a extremely fast way of rendering text that's used in games like Team Fortress! :)

Show thread

github.com/alaingalvan/ora.gmx

Open sourced a Studio I made a while back. Was a finalist in the Steam Workshop Competition! πŸ‘

It's free and available for PC/Android (just click the badge on the repo). :)

octodon.social/media/gSV2NqDFd

join me in rejecting all technology. burn your computers. throw out your books. refridgerators? technology, get rid of em. furniture? that smells like technology. wheels? how dare you

Show thread
Show more
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!