Better HN
topnewbestaskshowjobs
Log inSign up

nicbarkeragain

13 karma · joined Aug 27, 2024 (2y ago) · 12 submissions

Submissions

1.

UTF-8, Explained Simply(youtube.com ↗)

3 points · by nicbarkeragain · 1y ago · discuss

2.

How Clay's UI Layout Algorithm Works(youtube.com ↗)

9 points · by nicbarkeragain · 1y ago · discuss

3.

Data Structures, Explained Simply(youtube.com ↗)

1 points · by nicbarkeragain · 1y ago · discuss

4.

Tips for C Programming(youtube.com ↗)

1 points · by nicbarkeragain · 1y ago · discuss

5.

Hashmaps and Dictionaries, Explained Simply(youtube.com ↗)

2 points · by nicbarkeragain · 1y ago · discuss

comment 2y ago · link · parent

I've fixed it up :)

comment 2y ago · link · parent

Author here - apologies that the site didn't work correctly for you. Just OOI did it default to the Canvas renderer when you first opened it?

comment 2y ago · link · parent

Author here. I'm sorry that it performs poorly on your machine - if it makes any difference, it's the rendering that is slow, not the layout. The HTML examples are more meant as a demo than anything else, as the library actually doesn't do any rendering itself at all, it's exclusively a layout tool. I'm honestly not sure why the performance differs significantly between machines - I'm on an M1 mbp / firefox and it scrolls at 120 fps for me.

comment 2y ago · link · parent

Author here - yes you caught me. I'm building an asm IDE in C (which is why I ended up building this layout library in the first place) and the screenshot is from that application, specifically while building a NES game for Pikuma's NES/6502 course :)

comment 2y ago · link · parent

Author here, thanks for pointing that out - I'll implement it now.