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:

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.

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 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. ;)

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.

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.

Currently setting up the distance field font rendering system.

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

Show thread

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). :)

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

Cargo-culting is fine; it's how we programmers get a lot of important work done. If everyone built their own framework, those frameworks would be much poorer for it.

But OTOH I'm tired of hearing 100 different teams all pretend that they independently arrived upon React as if it's some universal mathematical axiom you can derive from deductive reasoning. I wish we programmers had the self-awareness to realize when we're being influenced by the crowd, charismatic thoughtleaders, narratives, etc.

Show thread
Show older

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