Better HN
topnewbestaskshowjobs
Log inSign up

singinwhale

13 karma · joined Jul 8, 2023 (3y ago) · 7 submissions

Submissions

comment 5d ago · link · parent

I wonder if there are any UI libraries inspired by how Unreal Engine does it (there it is called Slate). It does not lend itself to Rust 1:1 due to how its TAttribute type would clash with the borrow checker but it is a proven retained mode approach (with an IM adapter as of recently). It has IME, accessibility, cross platform, performance and GPU all figured out (or at least good enough). It has its issues, too, but I never see it mentioned in these discussions.

comment 3w ago · link · parent

Basically Enders Game

comment 1y ago · link · parent

Thinking about user seeing pixels is seeing just a part of the picture. As all software projects you don't optimize just for immediate user experience but also development time. Time to first draw rarely coincides with development time.

comment 2y ago · link · parent

Sounds a little like Kademlia, the DHT implementation that BitTorrent uses.

It's a distributed hash table where the value mapped to a hash is immutable after it is STOREd (at least in the implementations that I know)

comment 2y ago · link · parent

An AST is dependent on the Language Server though and thus not available for every file by default.

comment 3y ago · link · parent

I use unreal professionally. I would say that unreal is very opinionated in the way things are done. This is a good thing if you can stick to it and know how to leverage the systems in the way they were intended but makes it also makes it incredibly easy to shoot yourself in the foot by not adhering to the (sometimes unwritten) rules.

comment 3y ago · link · parent

I would be interested in knowing how this compares to Epic Online Services (EOS). We use EOS for connecting P2P lobbies and doing server browsing. When using unreal that service is basically free. Managing game servers is of course not part of the EOS package but it's a big question if your game really needs dedicated servers or could do with p2p lobbies. Running your own servers is quite expensive after all. Also console support is also always a concern for us so whether they check all the boxes so we can use them inside the console ecosystem would be very important to know.