Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andybest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
andybest
8y ago
Yars' Revenge on the Atari 2600 used the game code as random input to generate the graphics for the 'safe zone'
2.
▲
by
andybest
8y ago
Interesting, I wasn't aware of the #line directive, thanks! Yes, you would need to keep track of the source locations for each node in the AST. There is a nice example in the LLVM Kaleidoscope tutorial here: https://llvm.org
3.
▲
by
andybest
8y ago
Will be interesting to see how compiling to C affects debugging in the real world. LLVM is nice as a target, since it allows you to map generated IR blocks to source locations. Of course, it also means that the compiler needs to link to all
4.
▲
Messages from aliens could ruin life on Earth, scientists warn
(independent.co.uk)
1 points
by
andybest
9y ago
|
0 comments
5.
▲
by
andybest
9y ago
I haven't done any performance comparisons yet, unfortunately. I'm still working on improving the codebase to make it more Swifty. The backing fields are a leftover from the original Java implementation, and I didn't want to
6.
▲
by
andybest
9y ago
I'm actually unsure how it works when making a derivative work like this, because the license has the following statement: "Redistributions of source code must retain the above copyright notice, this list of conditions and the fo
7.
▲
Show HN: A pure Swift port of the Cassowary linear constraints solver
(github.com)
39 points
by
andybest
9y ago
|
5 comments
8.
▲
by
andybest
9y ago
Yes they do, collecting them enables you to turn into Super Sonic (in Sonic 2+)
9.
▲
by
andybest
9y ago
It's probably because those apps haven't implemented state restoration properly. Basically, the OS reserves the right to terminate your app at any point when it is in the background, and it is the job of the app to restore the sta
10.
▲
by
andybest
9y ago
I have also tried to teach people how to code, though mostly in the context of them needing to do it in order to complete a specific project. I've found that unless they are motivated to learn from the ground up, they won't tend t
11.
▲
by
andybest
9y ago
I remember trying to research things on the web before the days of Google and Wikipedia- it was much easier to go to the library back then, in my experience. The ways that these tools have changed the ways that people work is astounding
12.
▲
by
andybest
9y ago
That must have been frustrating to say the least. I have many memories of transporting essays to school on a floppy, only to have it be corrupted by the time I got there.
13.
▲
by
andybest
9y ago
I wonder if a more efficient microcode could be written for the Alto to optimise just for rendering Mandelbrot sets
14.
▲
Show HN: Linenoise-Swift- a pure Swift alternative to readline
(github.com)
1 points
by
andybest
9y ago
|
0 comments