Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kfuse
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
kfuse
2mo ago
No need to insult JavaScript. In two out of three times the "JavaScript" written will be something like: interface Box<T> { value: T } function map<T, U>(input: Box<T>, func: (value: T) => U): Box&l
2.
▲
by
kfuse
2mo ago
C# was already a very mature language when it had referenes and later "ref safety" added to it.
3.
▲
by
kfuse
5mo ago
They do worry, they just can't do anything about it. Like the fact that error handling code takes at least three lines no matter how trivial it is. I'm sure error handling would not be critisized nearly as much if it didn't c
4.
▲
by
kfuse
10mo ago
Raylib is a very good option for 2D games. For me it was the easiest way to translate my toy Doom renderer from javascript that used html canvas to C#.
5.
▲
by
kfuse
10mo ago
Updated a pet project of mine and got a minor break: var pixels = new uint[renderers.width * renderers.height]; var pixels2 = MemoryMarshal.Cast<uint, ulong>(pixels); pixels2[idx] = ... In NET9.0 pixels2 were Span<ulong&
6.
▲
by
kfuse
10mo ago
That's not just Java and there is nothing really cursed about it: throwing in a finally block is the most common example. Jump statements are no different, you can't just ignore them when they override the return or throw statemen
7.
▲
by
kfuse
1y ago
Node now has limited supports for Typescript and has SQLite built in, so it becomes really good for small/personal web oriented projects.
8.
▲
by
kfuse
1y ago
Jupiter is 5 times farther from the Sun than us, there is basically no lighting and heat from the Sun there. I think for a civilization capable of sending reasonable amount of people people at reasonable speeds to colonize such planets, cre
9.
▲
by
kfuse
1y ago
Why is everyone so fixed on interstellar travel? What if the galaxy is chock full of rogue planets? There may be hundreds if not thousands of worlds between us and the surrounding stars. Hopefully, Roman Telescope set to launch in 2027 is g
10.
▲
by
kfuse
1y ago
As I said, traditional doom bsp-walker software renderer is quite parallelizable. You can split the screen vertically into several subscreens and render them separately (does wonders for epic maps). The game logic, or at least most of it, c
11.
▲
by
kfuse
1y ago
"Rendering engine is also completely orthogonal to polygon-based 3D accelerators" Software rendering engine, yes (and even then you can parallelize it). But there is really no reason why doom maps can't be broken down in poly
12.
▲
by
kfuse
1y ago
Frankly, that doesn't explain much, because that sounds like how modern computing works: every program has its own continuos 32/64 bit address space. With 24 bits you can address 16MB which seems enough to be useful if you throw a
13.
▲
by
kfuse
1y ago
All modern popular languages are fast, except the most popular one.
14.
▲
by
kfuse
1y ago
Maybe one reason is its verbosity for small everyday tasks, like config files or when representing arrays. If xml allowed empty tags there probably would be no need for json.
15.
▲
by
kfuse
2y ago
Doom doesn't use raycasting, it uses binary space partitioning. From the description it seems to be a DOOM clone. Physics feels a bit off, but all the little details may trick you into believing that it's the real thing.
16.
▲
Show HN: FakeDoom – software renderer written in C# and JavaScript
(github.com)
1 points
by
kfuse
2y ago
|
0 comments