Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ElegantBeef
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ElegantBeef
11mo ago
If you're cheap like me a used Pixel3a is a grand device.
2.
▲
by
ElegantBeef
2y ago
Working on a hot code reloading library for Nim. It's a general solution, but specifically for my game framework. An example of it in action: https://streamable.com/2mxktc Source code: https://github.com
3.
▲
by
ElegantBeef
2y ago
There's not much more to share presently. The game presently is very far from having gameplay. The "terminot" part is MIT licensed inside the game repo. The game itself is presently GPL3 licensed. Small hacking game: https:&
4.
▲
by
ElegantBeef
2y ago
As someone working a TUI game I wanted stuff like this myself so just wrote what I now refer to as a "terminot". Actual shaders and non grid align rendering. Nice to see people attempt to emulate it in a proper terminal emulator.
5.
▲
by
ElegantBeef
2y ago
It does not formally have variadics, but since it has tuples you can have pretend variadic generics.
6.
▲
by
ElegantBeef
3y ago
Again that's this language constraining you to that. With procedure overloading it's not required that you have to have that ugly API. For instance the following is valid Nim: type Cat = object # these are just 'struc
7.
▲
by
ElegantBeef
3y ago
I use pixie for my game framework. It's used to load textures, layout fonts, and render font atlases. It can be used for generative art but https://github.com/EriKWDev/nanim or sdl2 using renderer's makes mor
8.
▲
by
ElegantBeef
3y ago
They likely read "overloadable enums" and went "Oh Rust calls their tagged unions enums" so assumed all languages did.
9.
▲
by
ElegantBeef
3y ago
> It lacks proper sum types We've talked about this before! You know it has sum types, just not the variation you want.
10.
▲
by
ElegantBeef
3y ago
I do not use Rust, so sadly I have not.
11.
▲
by
ElegantBeef
3y ago
> default behaviour is pass by value Is not exactly true, smaller than 24 bytes is passed by value, the compiler optimizes larger calls and passes by reference implicitly.
12.
▲
by
ElegantBeef
3y ago
For Rust at least one can use https://github.com/arnetheduck/nbindgen
13.
▲
by
ElegantBeef
3y ago
Ah, yes the French, people historically known for good protests. If only that somehow related to the conversation at hand.
14.
▲
by
ElegantBeef
3y ago
As a contributor it is still an awful non sequitur that does not answer the question, and brings up a fantastical world.
15.
▲
by
ElegantBeef
3y ago
If you care DayZ was BE enabled back in like October if my memory serves me correctly. The Cycle always supported it through Proton. Hunt recently enabled it like a month ago(finally, HMMMMing on linux is good).
16.
▲
by
ElegantBeef
3y ago
Hunt, Dayz(as does Arma3 and Reforger), and The Cycle all work on Linux.
17.
▲
by
ElegantBeef
3y ago
Well there is a practical reason that in a whitespace significant language you do not want to mix indentation types. I personally prefer tabs for the user customization, but the actual reasoning that generally speaking it was(is?) hard to g
18.
▲
by
ElegantBeef
3y ago
Indent size is up to the programmer.
19.
▲
by
ElegantBeef
4y ago
To explain 'why' it behaves this way is quite simple the stdlib does not have slicing operators for all of your expected cases, Nim does not have postfix operators(aside from [], {}, *) so 3.. is just impossible to define. If one