Hello world. Here's my work on integrating Racket and Vulkan, licensed under MIT: https://sagegerard.com/racket-vulkan-notes-index.html #vulkan #racket
@sage Hello and welcome!
> Hello world. Here's my work on integrating Racket and Vulkan, licensed under MIT:
What sort of use cases do you have in mind? Racket seems a bit slow for a lot of the ways Vulkan might be used (unless I'm missing something)
@codesections Thanks! The use cases match Vulkan's (graphics + compute pipelines for video games, encoding, and research), plus something of personal interest: DSLs for tailored asset creation.
I was drawn to Racket because I think there are opportunities in generating assets like 3D models, textures, etc. that LOOK hand made given sufficient work on a guiding DSL.
> Racket seems a bit slow for [this]
Overhead is inevitable, but part of my design is to expose the raw C API to limit that.
@codesections For an example of what I mean by using arbitrary DSLs for custom assets: One of my projects lets me build websites by embedding any #racket language I want within a `<script>` tag. https://sagegerard.com/racket-powered.html
In a future article, you'll see images or videos appearing on a page that existed solely as code before the page was built. I think having Vulkan around makes cooler things possible there.
I've really enjoyed trying Pollen, and have "rewrite my site in Pollen" on my to-do list. Would polyglot be a competitor there?
It's different enough to make you think about what kind of work you want to do.
Pollen/frog grants you expediency in publishing. The cost is more work if you want to change platforms.
Polyglot grants you the freedom to change your mind on how to do things even when your project gets big. The cost is more work up front.
I made polyglot as a way for me to escape vendor lock-in while limiting vendor lock-in for my users as much as I can.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.