I've been working on a 3D voxel-based game engine for like 10 years in my spare time. The most recent big job has been to port the world gen and editor to the GPU, which has had some pretty cute knock-on effects. The most interesting is you can hot-reload the world gen shaders and out pop your changes on the screen, like a voxel version of shadertoy.
https://github.com/scallyw4g/bonsai
I also wrote a metaprogramming language which generates a lot of the editor UI for the engine. It's a bespoke C parser that supports a small subset of C++, which is exposed to the user through a 'scripting-like' language you embed directly in your source files. I wrote it as a replacement for C++ templates and in my completely unbiased opinion it is WAY better. https://github.com/scallyw4g/poof
10 years? Man, I envy you. Seriously. You say you work on it in your spare time so it's no like is your life passion or something like that right? How do you keep momentum? I have hundred of never finished projects, and I really struggle to finish them or work on them enough to want to keep doing it. Teach me.
In all seriousness, I think I have the same propensity to have a hundred unfinished projects and have a hard time finding motivation to complete them. The difference might be that I have this 'big' project called a 'game engine' that wraps them all up into some semblance of a cohesive whole. For example, projects that are incomplete, but mostly just good enough to be serviceable (sometimes barely): 1. Font rasterizer
2. Programming language
3. Imgui & layout engine
4. 3D renderer
5. Voxel editor .. etc Now, every one of those on their own is pretty boring and borderline useless .. there are (mostly) much better options out there for each in their specific domain. But, squash them all together and it's starting to become a useful thing. It just happened that I enjoy working on engine tech and I picked a huge project I have no hope of ever finishing. Take from that what you will "I hate to advocate drugs, alcohol, violence or insanity to anyone, but they've always worked for me. --Hunter S. Thompson
Hah. I've been working on my own engine for over a decade, and I completely relate to this. I've torn it down and rebuilt it a few times, I've got multiple branches of it that are built for specific things... but when I want to do something I know it can't do, that could be easily done in some other engine, it just puts a bug up my butt to try and make my own code do that thing. Then I dive into code I haven't looked at for a few years and I realize that so many things could be improved. And I lose a week of sleep yak-shaving this thing that will almost definitely never be seen or used by anybody else. But I see it as a kind of craftsmanship and sharpening my own tools. I don't know another, better way to do that.
Voxel engines are interesting because they're very much an area of active research. People are often coming up with novel techniques, and adapting traditional techniques in interesting ways. There isn't any good, singular resource for learning about voxel engine development thay I know of.
I'd recommend Handmade Hero for a more traditional resource on how to build a game engine. That's how I learned to program for real, and it worked great for me.
No. The bottleneck for me is not the speed at which I type code, which is basically what LLMs accelerate. I've been thinking about trying again, but at this point the context windows are FAR too small to feed my entire project too, and it just seems like a giant pain to have to babysit that.
Additionally, the bottleneck for me is typically writing graphics code, and LLMs are hilariously bad at that.
After 2+ years of maintaining the FOSS lightweight Reddit frontend Redlib [0], I realized that my niche but extremely detailed knowledge and experience of using Reddit's endpoints might be useful. After reverse engineering the mobile app and writing code to emulate nearly every aspect of its behavior, plus writing a codegen framework that will auto-update my code from analyzing the behavior from an Android emulator, I can pretty easily replay common user flows from any IP around the world, collecting and extracting the data. Some use cases:
* OSINT (r00m101 just beat me to it by launching...) * Research into recommendation algorithms, advertising placement algorithms, etc * Marketing (ad libraries, detailed analysis of content given data not even exposed to the mobile app due to some interesting side channels, things like trend analysis, etc) * Market research for products * Sales teams can use it to find exact mentions of other products. Eg: selling crash reporting software? Look up your target accounts' brands and find examples of complaints. Plus a few more with more imagination. So I'm working on a site that allows user access to some of the read-only functions available here. Coming soon :tm:. Been really fun building it all in Rust, though :) If you're interested in anything here, email in profile. [0]: https://github.com/redlib-org/redlib
Is there any interest in factoring the Reddit parts out of the UI code? I've been thinking of taking a stab at that myself but figured this would be a good place to ask if you have plans :)
Do you mean a way to have the Reddit app render content from some generic social media provider, while keeping the UI? I haven't thought about that yet. I'm sure it would be possible, but that would require tearing out a lot of backend code and replacing it 1:1. Most of my work has been on the network side of the app, and not much modification; just introspection and inspecting behavior.
My main question: why, do you like the UI? I honestly really hate the reddit app, I haven't seriously used it for browsing since I fixed up Libreddit into Redlib :)
I don't like the Reddit app personally but I also do like something a bit more dynamic than what Redlib offers. Personally I'm fine with JS on the frontend and frameworks like React as long as they're implemented well.
I'd also just like to play around with different styles of frontend just as a way to hack on things.
~2 years ago, Reddit was cracking down on this type of usage. This lead to a mass exodus of users to lemmynet and other decentralized platforms.
What makes you special in this aspect? Seems you are small fish now, but if your niche project picks up steam. Nothing to stop them from cutting you off or forcing you to court/injunction and waste your personal resources.
That crackdown was for regular API usage aka just regular content access, which definitely isn’t special. Most other “reddit data access” sites either use some sort of headless browser or just the JSON endpoints, which are brittle and limited, whereas I can access the private mobile API that the app uses for ad/recommendation distribution at a much larger scale. These things aren’t accessible via the API. Picture it as: an API where you can access just content, vs having programmatic access to every piece of data the mobile app can access, which unintuitively is not limited to what the mobile app displays (there’s other interesting fields available).
I'm working on a new app for creating technical diagrams - https://vexlio.com. It's an area with some heavyweight incumbents (e.g. Visio, Lucid) but I think there's good opportunity here to differentiate in simplicity and overall experience. I'm still in the fairly early phase, and I suspect I haven't quite found the best match of features to customers yet.
Awesome, thank you! If you or your colleagues have other LaTeX-related goals or wishes, do let me know. There's a lot of untapped opportunity there as well (IMHO).
It looks like a pretty interesting product so I really hate to be that guy but the FAQ page at https://vexlio.com/faq/ straight up doesn't work (whenever I click any of the questions, it does nothing). Also, wanted to know if there was anything in the pipeline to get a Desktop application which would work offline. In several places in the enterprise world especially, I do feel there would be scope for that. I would definitely pay for a desktop version which worked offline for example.
Whoops - FAQ issue should be fixed if you refresh (if it's still broken, give it some time for caches to be invalidated). Thanks for mentioning that!
Re: desktop version. The short answer is yes, probably, but I don't have a concrete timeline. I made tech and architecture choices from the beginning to make sure a cross-platform desktop version always remains possible. Frankly, the biggest obstacle for desktop is not the app itself, but distribution and figuring out a pricing model. The current solution for enterprise, business, and other interested people, is to self-host Vexlio, with separate licensing.
This looks really cool. An application I would use this for is to generate code for FPGAs, as finite state machines are very common.
This is an example,
https://terostechnology.github.io/terosHDLdoc/docs/guides/st... But it only outputs an SVG, and there are no tools (AFAIK) that go from diagram to code, which should easy to setup. So I'd consider extending this to both generate code and read in code and make these nice interactive diagrams.
Thank you for the feedback! This is a great idea and definitely fits into the vision.
Do you know if the FPGA and/or hardware communities use any type of formalism for design or documentation of state machines? One example of what I mean is is Harel statecharts - essentially a formalized type of nested state diagram.
Gave it a quick try and it's really nice, the aesthetic defaults are great.
One thing I found unintuitive: I should be able to connect objects without having to select a new tool (the anchor points on hover should be clickable in any tool mode so I can connect objects on the fly).
Thanks for this feedback! This is one of those quality-of-life features that I think are really important for the overall experience - I will be adding this.
After 10 years in defense tech, watching missile attacks in Ukraine and the Middle East made it clear how little most people really get about air defense. So I'm builiding this simulator which drops you into the operator’s seat. You can test out different scenarios and build an air defense network against various types of threats (stats from real world). Also have Ukraine, Israel-Iran scenarios.
Comments (1,400) 783 threads
Earlier commentsI also wrote a metaprogramming language which generates a lot of the editor UI for the engine. It's a bespoke C parser that supports a small subset of C++, which is exposed to the user through a 'scripting-like' language you embed directly in your source files. I wrote it as a replacement for C++ templates and in my completely unbiased opinion it is WAY better.
https://github.com/scallyw4g/poof
In all seriousness, I think I have the same propensity to have a hundred unfinished projects and have a hard time finding motivation to complete them. The difference might be that I have this 'big' project called a 'game engine' that wraps them all up into some semblance of a cohesive whole. For example, projects that are incomplete, but mostly just good enough to be serviceable (sometimes barely):
1. Font rasterizer 2. Programming language 3. Imgui & layout engine 4. 3D renderer 5. Voxel editor
.. etc
Now, every one of those on their own is pretty boring and borderline useless .. there are (mostly) much better options out there for each in their specific domain. But, squash them all together and it's starting to become a useful thing.
It just happened that I enjoy working on engine tech and I picked a huge project I have no hope of ever finishing. Take from that what you will
"I hate to advocate drugs, alcohol, violence or insanity to anyone, but they've always worked for me. --Hunter S. Thompson
Continue this thread — 3 replies
I've always also had a side project or two in this domain but I've never managed to stick with one for more than 3-5 years.
Do you have any recommendation on voxel engine learning materials (e.g. books, courses, etc)
I'd recommend Handmade Hero for a more traditional resource on how to build a game engine. That's how I learned to program for real, and it worked great for me.
Additionally, the bottleneck for me is typically writing graphics code, and LLMs are hilariously bad at that.
* OSINT (r00m101 just beat me to it by launching...)
* Research into recommendation algorithms, advertising placement algorithms, etc
* Marketing (ad libraries, detailed analysis of content given data not even exposed to the mobile app due to some interesting side channels, things like trend analysis, etc)
* Market research for products
* Sales teams can use it to find exact mentions of other products. Eg: selling crash reporting software? Look up your target accounts' brands and find examples of complaints.
Plus a few more with more imagination.
So I'm working on a site that allows user access to some of the read-only functions available here. Coming soon :tm:. Been really fun building it all in Rust, though :) If you're interested in anything here, email in profile.
[0]: https://github.com/redlib-org/redlib
My main question: why, do you like the UI? I honestly really hate the reddit app, I haven't seriously used it for browsing since I fixed up Libreddit into Redlib :)
I'd also just like to play around with different styles of frontend just as a way to hack on things.
Continue this thread — 2 replies
What makes you special in this aspect? Seems you are small fish now, but if your niche project picks up steam. Nothing to stop them from cutting you off or forcing you to court/injunction and waste your personal resources.
From a dev perspective this area has a ton of super interesting algorithmic / math / data structure applications, and computational geometry has always been special to me. It's a lot of fun to work on.
If anyone here is interested in this as a user, I'd love for any feedback or comments, here or you can email me directly: tyler@vexlio.com.
Some pages the HN crowd might be interested in:
* https://vexlio.com/blog/making-diagrams-with-syntax-highligh... * https://vexlio.com/solutions/state-diagram-maker/ * https://vexlio.com/blog/speed-up-your-overleaf-workflow-fast...
Re: desktop version. The short answer is yes, probably, but I don't have a concrete timeline. I made tech and architecture choices from the beginning to make sure a cross-platform desktop version always remains possible. Frankly, the biggest obstacle for desktop is not the app itself, but distribution and figuring out a pricing model. The current solution for enterprise, business, and other interested people, is to self-host Vexlio, with separate licensing.
This is an example, https://terostechnology.github.io/terosHDLdoc/docs/guides/st...
But it only outputs an SVG, and there are no tools (AFAIK) that go from diagram to code, which should easy to setup.
So I'd consider extending this to both generate code and read in code and make these nice interactive diagrams.
Do you know if the FPGA and/or hardware communities use any type of formalism for design or documentation of state machines? One example of what I mean is is Harel statecharts - essentially a formalized type of nested state diagram.
Overall amazing though, will be using!
Continue this thread — 9 more replies
https://airdefense.dev/
Continue this thread — 16 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.