Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rswier
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rswier
5y ago
> I suspect there is some clever base between 1 and 2 which is trivial to compute Something like this perhaps (although this might be too much granularity): (8 + (cap & 7)) << ((cap >> 3) + 1) 16 18 20 ... 30 32
2.
▲
by
rswier
5y ago
Are there any good resources for learning how to render dichroic thin films with multiple internal reflections and refraction indexes? Basically, I would love to render something like this[1] in real time. [1] https://www.youtube
3.
▲
by
rswier
5y ago
The March 1931 issue of Television News[1] is a fantastic snapshot in time of the development of Television. Amazing all those various silly spinning disk systems peppered throughout the magazine...and then buried on page 48 there's Ph
4.
▲
by
rswier
5y ago
Here are the course notes from an AT&T Compiler Construction Course by "Aho, Sethi, et. al." https://archive.org/details/CompilerConstructionCourse_Dec83
5.
▲
by
rswier
6y ago
Tiger Innovations | Herndon, VA | Spacecraft Embedded Software, VHDL | Full-time | Onsite Tiger Innovations is a small high technology company specializing in developing spacecraft and space-related systems for a broad range of US Governmen
6.
▲
by
rswier
7y ago
I made a branch of c4 that includes struct support. I should probably add it to the master branch so it gets more visibility: https://github.com/rswier/c4/blob/switch-and-structs/c4.c
7.
▲
by
rswier
10y ago
c4.c author here - selfie seems to fill a niche between c4 and my other more full featured compiler/os swieros. Very cool! https://github.com/rswier/swieros/blob/master/00README.txt
8.
▲
by
rswier
10y ago
More details on "Primeval" C can be found here: https://www.bell-labs.com/usr/dmr/www/primevalC.html Just recently, fragments of the earliest Unix OS source code and B interpreter were discovered [0
9.
▲
by
rswier
11y ago
The code appears to be some of the most ancient Unix Kernel Source Code yet found. This is previous to the PDP-11 1st Edition. Still, many of the familiar bits are there (ed, cat, etc..) A pretty historically significant chunk of code!
10.
▲
by
rswier
11y ago
Warren Toomey from The Unix Heritage Society (TUHS) posts: http://minnie.tuhs.org/pipermail/tuhs/2016-February/006622.h... With the link: http://www.tuhs.org/Archive/PDP-11/Distribut
11.
▲
Some PDP-7 source code
(minnie.tuhs.org)
83 points
by
rswier
11y ago
|
8 comments
12.
▲
by
rswier
11y ago
Write in C https://www.youtube.com/watch?v=H4YRPdRXKFs
13.
▲
by
rswier
11y ago
Once again the internet has demonstrated it's ability to (semi-)autonomously heal damage and mis-configuration by replicating data from the faulty nodes. I trust the keepers of this valuable data will occasionally admire and validate t
14.
▲
by
rswier
11y ago
Searched for "Compiler" and was not disappointed. Tim Budd's "An APL Compiler" is a classic. I love the goofy title of Mads Tofte's: "Compiler Generators What They Can Do, What They Might Do, and What They
15.
▲
by
rswier
11y ago
In the future I believe you are going to see less emphasis on the aggressive speedup of C code for traditional CPUs. Instead you will see many more gadgets with simpler processors that run C code slower in the effort to save power. GPGPUs a
16.
▲
by
rswier
11y ago
RISC created a huge local minimum by speeding up C code to the exclusion of other languages. I predict that eventually future processors will hide more features from the higher software levels (such as number of registers, instruction type
17.
▲
by
rswier
11y ago
Completely agree :) But even better to push C code straight down to the hardware and let it crunch on that! Let it allocate a few thousand registers, or spawn off an FPGA compiler to create a few new instructions. Crazy?
18.
▲
by
rswier
11y ago
Maybe we are all better served by faster compilers that create straightforward binaries (and less bugs overall both in the compiler and application code.) Optimization researchers could focus on source-to-source transformation tools with i
19.
▲
by
rswier
11y ago
I agree optimization is important. So important that it should be pushed down into the hardware. Binaries should look almost like source code. But that's just my vision for what it's worth.
20.
▲
by
rswier
11y ago
IMHO aggressive optimization at compile time is an example of premature optimization. Let the hardware have access to a straightforward representation. Once the run-time hot-spots are identified, the hardware (firmware, VM, whatever) can re
21.
▲
by
rswier
11y ago
Many years ago I played around with something called PRECC - A PREttier Compiler Compiler. I remember it was(is) pretty elegant. I wonder if anyone else has experience using it. http://preccx.sourceforge.net/ This was lon
22.
▲
by
rswier
11y ago
I am reminded of H. R. Giger's designs for the movie Alien. They don't seem so far-fetched now.
23.
▲
by
rswier
11y ago
What I find incoherent is the OP's implication that saving a historic icon means neglecting the sick and starving. I suppose the Eiffel tower should also be left to rust away.
24.
▲
by
rswier
11y ago
It is frustrating that this beautiful ship is relatively unknown considering the fascination with all things Titanic. http://www.ssusc.org/ Surely Bill Gates or Jeff Bezos could free up a few million from petty cash.
25.
▲
Friends of the S.S. United States Send Out a Last S.O.S
(nytimes.com)
26 points
by
rswier
11y ago
|
13 comments
26.
▲
by
rswier
11y ago
Yea, even if you increase the chunk size and omit dynamic recompilation, there still may be unavoidable slowdowns due to shoving all that Javascript through the browser. I am currently designing a software-only CPU with sliding register win
27.
▲
by
rswier
11y ago
A good approach might be to add a coprocessor to jor1k that validates and accepts page sized chunks of asm.js code for execution in a restricted manner. Validation would check that memory accesses go through a software MMU, all loops can e
28.
▲
by
rswier
11y ago
No malloc/free necessary. Just pile up nodes on a stack, then "deallocate" to any saved position.
29.
▲
by
rswier
11y ago
The last time I checked, tcc lacked even a simple AST. This led to some pretty weird emitted code (such as swapping parameters on the stack.) Implementing an AST is not hard, just push and pop nodes on a stack. It also makes a nice front
30.
▲
by
rswier
11y ago
archive.org has a website grab from 2013: https://archive.org/details/dmr-grab
More ›