Hacker Newsnew | past | comments | ask | show | jobs | submit | ozychhi's commentslogin

Nooo unsigned integers suck, if you subtract 5 from 3 what would you get? Then I had a stroke of genius and figured it out, I have no idea what I'm doing.


D'oh! How did they not think of that


If you are interested in similar content, I recommend you check out youtube channel Advoko Makes. https://www.youtube.com/channel/UCc1ufNROdAxto9Fr0jnEE2Q


I was going to link Advoko Makes if it wasn't already here. That guy amazes me more than anybody else, not just because of the scale of the stuff he builds by himself out in the middle of Karelia, but because of the preparation and focus he shows. He clearly spends 11 months out of the year learning new skills and planning down to the smallest detail what he will do in the one month of build time he has each summer.


Advoko's channel is great!


Probably killed by hackernews, not everything is webscale unfortunately.


I think so. Imagine the bill if it were simply allowed to autoscale without an upper bound.


its at the top of reddit music subs too


We were using modified lz4 (very much molded over our data) that was actually faster than memcpy of data that we were compressing.


That looks like a cool tool (would be cooler if it didn't start freezing up after 15 seconds). But I have a complaint, how is Bill Nye on the same tree as Richard Feynman?

https://www.literature-map.com/richard+feynman


Copy paste job gone wrong


Including the header is like an email thread. I think it's kinda cute - very businesslike.


Yeah as others mentioned this is between C and C++, arguably taking best of each language. But indeed this library is based around the idea of having performant UI (as they mostly redraw whole screen on each frame, it has to be quite quick, though there are ways not to do this, this is the most basic case) and generic containers do not really cut it, also usage of exceptions is sort of impossible with the way you have to structure ImGui code. So it's more of a codebase that illustrates how to write performant code, not so much modern C++ guideline.


TIHI


Core dumps


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: