Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swolchok
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
swolchok
5y ago
> Max Payne ran on a PIII @1GHZ with 128 of RAM There was a port to the original Xbox, which had only 64 MB of RAM!
2.
▲
by
swolchok
5y ago
> without knowing how the code was built The article links out to Compiler Explorer ( https://godbolt.org/ ), which shows the exact compiler version and options and lets you play with different ones. It shouldn’t matter wh
3.
▲
by
swolchok
6y ago
Is there a reason that the inner save and restore must be separate? Why couldn’t peephole optimization remove them?
4.
▲
by
swolchok
6y ago
I had hoped that this article wouldn’t require x86 assembly fluency to read; it really is a “port” of my prior article on x86-64 assembly. I wrote it because mobile developers, at least, probably care more about ARM64 than x86-64. Is there
5.
▲
by
swolchok
6y ago
I haven't tried this, don't work for Amazon, and only just found out, but https://aws.amazon.com/ec2/graviton/ says that "Until June 30th 2021, all new and existing AWS customers can try the t4g.mic
6.
▲
by
swolchok
6y ago
I ported the article to ARM64. https://wolchok.org/posts/how-to-read-arm64-assembly-languag...
7.
▲
by
swolchok
6y ago
> Scott Wolchok writes it I didn’t write it, I just copied the compiler output from Godbolt so that the article could be read on mobile, where Godbolt’s UI doesn’t work so well and switching tabs back and forth is difficult.
8.
▲
by
swolchok
6y ago
I’d be happy to port the article to ARM64 if there was sufficient demand for that, but I think it’s still fairly niche among developers, right? (Apple, recent Android, niche server environments?) Are you talking about ARM64 or ARMv7?
9.
▲
by
swolchok
6y ago
Thanks! Fix should deploy momentarily. This is what I get for duplicating the examples across Godbolt and the post itself. It was originally 3D for no particular reason and I cut it to keep things short.
10.
▲
How to Read Assembly Language
(wolchok.org)
6 points
by
swolchok
6y ago
|
0 comments
11.
▲
Inlining and Compiler Optimizations
(wolchok.org)
1 points
by
swolchok
6y ago
|
0 comments
12.
▲
by
swolchok
6y ago
Pico-8 was included in the recent Bundle for Racial Justice and Equality ( https://itch.io/b/520/bundle-for-racial-justice-and-equality ) from itch.io. That bundle was huge and very popular, so you may own it withou
13.
▲
by
swolchok
6y ago
The condition is known as "brain fog". For example: https://www.healthline.com/health/brain-fog#causes I've also seen common cold listed as a potential cause, which definitely jibes with my experience.
14.
▲
by
swolchok
7y ago
They seem to be equivalent: https://play.rust-lang.org/?version=stable&mode=debug&editio...
15.
▲
by
swolchok
7y ago
2^109 nanoseconds is still 150,000 times older than the universe. If you do manage to get a trillion computers, you can now solve the problem in twenty thousand years. It's still intractable.
16.
▲
by
swolchok
7y ago
I personally don't care for the navigation/optimization problem style of challenge that ICFP usually does, but I still check the problem yearly to see if it's back to being in the style of the 2006 ICFP ( http://www
17.
▲
by
swolchok
7y ago
I think of this attitude as being a stereotype of mathematicians. "I've already proved that a solution must exist; finding it is just drudgery." Perhaps the author would enjoy branching into one of the more theoretical branch
18.
▲
by
swolchok
7y ago
FWIW, there is POSIX-specified functionality (swapcontext and friends) for changing the user thread context: http://pubs.opengroup.org/onlinepubs/009695399/functions/swa...
19.
▲
by
swolchok
7y ago
> -O3 If size is really important, you probably want to try -Os (optimize for size) and -Oz (try harder to optimize for size, including at the expense of CPU) as well. > LTO If your project gets big enough that -flto results in unacce
20.
▲
by
swolchok
7y ago
Isn't the cost $99 per year per developer account, not $99 per year per app?
21.
▲
by
swolchok
8y ago
> pay will sky rocket Why do you think that this will entirely fail to incentivize prospective retirees to work for more total years of their lives in order to benefit from increased pay?
22.
▲
by
swolchok
8y ago
> Inflation will eat most of your savings What? This is why investment advice for retirement generally revolves around allocation into stocks and bonds while leaving only an emergency fund plus regular expenses in more liquid assets like
23.
▲
by
swolchok
8y ago
PICO-8 limits the textual size of your input Lua file, so I'd imagine that it might be possible to squeeze more content into your game with a small interpreter and packed binary format represented as a printable string.
24.
▲
by
swolchok
8y ago
> peek(), poke(), memset(), memcpy and similar functions on any memory address that PICO-8 uses Surprised that this hasn't been exploited to build a C compiler targeting the platform. (Unless I needed to Google something other than
25.
▲
by
swolchok
8y ago
Mods: please consider addressing the curiosity gap in the title by something like s/Object/Plastic Sushi Grass/ .
26.
▲
by
swolchok
8y ago
He doesn't say it flickered all the time for everyone: > The amount of flicker you actually see depends on things like whether redisplay optimized the last update, your video driver, and the purity of your soul.
27.
▲
by
swolchok
8y ago
"So You Want To Abolish Time Zones" ( https://qntm.org/abolish ) has a good exploration of the issues with that.
28.
▲
by
swolchok
8y ago
> based on the way the government is set up, rural votes have disproportionate power, and for this reason the LDP has a tendency to pander to rural interests Is there a Western government that isn't set up this way? You could writ
29.
▲
by
swolchok
8y ago
The recent Software Engineering Daily podcast on "Unity and WebAssembly" mentions that Unity has a .NET to C++ toolchain. Is that some kind of stock Mono feature, or is that another .NET runtime? https://www.softwaredai
30.
▲
by
swolchok
8y ago
Why do you claim that local variables and function calls are specific to C? They seem to be very popular among programming languages in general.
More ›