HN user

quic5

100 karma
Posts1
Comments28
View on HN

At its core, Juno uses the YouTube website itself. No, not scraped. It presents the website as you would load it, but similar to how browser extensions work, it tweaks the theming of the site through CSS and JavaScript.

Zig 0.11 3 years ago

That is absolutely true. But but you can write memory-bug-free code in Zig but you cannot prevent heap allocations in most of the languages listed in the article, making it outright impossible to write certain software in them.

Zig 0.11 3 years ago

I don't believe there ever was support for macOS on 32-bit ARM.

Zig 0.11 3 years ago

That totally misses the point of quality software. What good is memory safety if you medical device crashes because of an out of memory error?

What I'm trying to say: There are use cases where areas of safety are required other than memory safety.

Observation: Separating Safari and Web App allows both to run independently. You can open a Web app without opening Safari, you can close Safari without all web apps closing.

Errors and Zig 3 years ago

Honestly most bad abstraction come from authors thinking they're geniuses (in that moment)

Having spent countless hours in Cities: Skylines I’m a bit worried that I haven’t spotted a single form of public transport nor more bike infrastructure than a painted bike lane. I hope we won’t have to wait for countless DLCs to add more interesting modes of transport that just cars

Game Jam 2 Results 4 years ago

I've continued to code on my game submitted to the last WASM-4 jam for months and thoroughly enjoyed improving my messy game-jam code. So I'd disagree with the statement that Zig is only good for prototyping.

Game Jam 2 Results 4 years ago

Then you will enjoy WASM-4 since it handles the glue code for you. There's no JS in you game but the web emulator is written in JS

Game Jam 2 Results 4 years ago

I can only speak for myself here but of all languages I've tried for WASM-4 (WAT, C, Rust & Zig) it is the most productive one for me.

I really enjoy the balance of safety and control in Zig. I can build using Debug mode during development, turning nearly all my bugs into crashes which are easily fixable using in-browser source-level debugging. But in Release-Small mode the result is fast and more importantly really small since there's a 64kb cartridge limit.

Another factor is the Zig Standard Library which designed to be portable and usable on freestanding targets. I can not emphasize enough how pleasant this is. For example I can just use a `std.heap.FixedBufferAllocator` to back a `std.ArrayList` with no problem.

The comptime feature of Zig also comes in handy when you have to minimize code size.

The seamless C interop furthermore improves my productivity since I can just use any C code I like. I've used a C perlin noise library in a previous game for example, saving me a lot of time.

Plus I've used Zig for the previous WASM-4 jam and just liked it so I didn't bother trying any other language.