3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions
comment 9y ago · link · parent
Unfortunately exposing my nativity on both NICs and TLS, I've never understood why NICs couldn't support the crypto in a way that it can just send the packet straight to the wire after encryption. Is there some deep (unfixable) reason in the TLS/TCP protocol or just a lack of foresight in the NIC design?
comment 9y ago · link · parent
This isn't my itch, but some possible answers could include having hardware enforced type safety and architectural support for efficient execution. To give a rather extreme example of what is possible with a dedicated architecture, study the Reduceron [1,2]. IMO, doing something similar for Lisp would be much much easier.
Could it be done? Yes, absolutely and it would be great fun. You'd have to work with an FPGA though unless you have a sizable fortune to fab a chip (though 28nm is almost affordable).
[1] https://www.cs.york.ac.uk/fp/reduceron [2] https://github.com/tommythorn/Reduceron
PS: Reduceron has a hardware garbage collector
comment 9y ago · link · parent
Almost six orders of magnitude advancement. I do wonder if humanity will every be able to pull such a stunt again.
comment 9y ago · link · parent
ld %rd, [%r1 - 1]
if %r1 didn't have a "01" tag, this would trap.Finally, SPARC reserved 8 registers for "global" use, that is registers what wouldn't be otherwise used by the compiler. Use was as simple as
register int *sp asm("%g3");
which was immensely valuable for VM implementations (and others).Unfortunately, the tagged add instructions didn't get much use; perhaps SPARC wasn't a big enough base to justify designing around it.
comment 9y ago · link · parent
Charlie holds many grudges; he pissed NVIDIA off enough that they denied him access after which his been dumping dirt on them whenever he can, justified or not.
"Semi-accurate" is an appropriate name. He's sometimes right.
comment 9y ago · link · parent
In addition to that, I expect to see some interesting announcements at the RISC-V workshop in Nov.
Patience, patience. It's likely that RISC-V adoption will happen bottom up, first deeply embedded space (like NVIDIA, who is using it internally in the GPU for managements). Next, bigger cores will also happen especially where there's no (perceived) advantage to using ARM. A standalone chip will probably come late and will likely come from China from someone looking for a way to stand out from the myriad of ARM vendors out there.
Just the idle musings of an ARM-chair analyst.
comment 9y ago · link · parent
I bit of googling found the next steps "nimble install minx" but for compiling your win.nim example I had to use "nim --noMain --threads:on c -r win.nim" but the result worked. However AFAIK, there's no official way to make statically linked binaries on the latest macOS.
comment 9y ago · link · parent
This is far from the only data-flow architecture out there (my favorite is the TRIPS instance of EDGE), but so far none have succeeded in the market.
The self-timed part is using NULL Convention Logic (NCL). Wave have dubbed their implementation of this WTL (see https://news.ycombinator.com/item?id=11469749). There are some very interesting questions about exactly how they use this, but it sounds like the synchronization between compute nodes is using NCL, but the compute nodes are conventional synchronous logic, clocked by the completion signal from NCL. That would certainly be an interesting hybrid, but the 6.7 GHz results begs a lot of questions.
comment 9y ago · link · parent
One thing that bit me when I was a complete n00b: assigning registers from within more than a single always block. On my simulator (at the time) it worked perfectly but the synthesis tool silently ignored one of the blocks.
EDA tools suck. There I said it. Coming from a software it's truly shocking how poor error/warnings are handled. My "favorite" part is that you cannot enforce a "0 warnings" discipline as the libraries and examples from the vendors provoke thousands warnings and the only workaround is to filter the individual instances of the messages.
comment 9y ago · link · parent
FWIW, I use FreeNAS in a similar small but diverse setting with nary a problem, but when I sat it up for a 30+ organization, issue arose that I hadn't expected (not data loss, but usability and performance issues).
comment 9y ago · link · parent
This is an interesting project and I wish them well. I have no opinion on Rust at the moment, but I do see this as part of a general trend towards safer languages.
comment 9y ago · link · parent
Had this been standard, or at least more easily accessible, it would have made the C64 a lot more useful to me.
OT: Is there a 4x8 latin1 font anywhere?
comment 9y ago · link · parent
I was hoping to see an update on the RISC-V port. Fabrice has made it easy to try to the early F25 in the browser (see, https://vfsync.org/vm_list.html) and I'd really love to see RISC-V becoming an officially supported architecture now that the privileged spec is frozen (that is, will evolve in a backwards compatible way).
comment 9y ago · link · parent
Thank you. Boy, this was a long time ago and I haven't written anything. I suspect it will be obvious for anyone skilled in the act, but I had to go look at my code at bit to remember some of this.
First a quick word from the POV of a compiler: the register windows are supposed to make function call easier and I suppose it works as designed for hand written code, but it actually adds a lot of complexity to indirect call/virtual functions and is a disaster for anything that switches stack (context switches, coroutines, etc). Another problem is the immediate fields which are just 8-bit unsigned, very often too small. And in practical terms, the GCC port really struggles to make good code for MMIX. Try it!
From the implementation POV: even ignoring the resource requirement for the full MMIX (which besides 256 registers includes a LOT of functionality), it's hard to pipeline as MMIX actually have fairly complicated semantics; just look at the state machine, the S_XXX symbols in https://github.com/tommythorn/fpgammix/blob/master/rtl/core.... While you can obviously deal with that (as witnessed by x86), it requires you to speculate a lot (for starters, speculate that you didn't get an interrupt). All speculation add complication as you need to recover from mis-speculation. This in term hurts cycle time by making stages more complicated and is a MAJOR source of verification work (AKA bugs).
My implementation is nearly completely un-pipelined, very similar to a simple interpreter but in Verilog. Once I had enough functionality that I could look back and consider a more realistic implementation, I really lost the enthusiasm and instead focused on MIPS which is dramatically more efficient and easier to implement (pesky branch delay-slot not withstanding). Of course, later a friend leaked word of nascent RISC-V and the world was forever different.
I actually asked Don directly why he hadn't gone with something like MIPS, but he answered vaguely that he wanted something for education.
On the positive side, I found a bug and scored a $2.56 check (real dollars) and a couple of MMIX T-shirts :)
comment 9y ago · link · parent
comment 9y ago · link · parent
OT: one of the sed lines is hard to read
sed -i 's/github.com\/zfsonlinux\/zfs.git/github.com\/tcaputi\/zfs.git/' PKGBUILD
the OP might leverage that you can use other quoting characters, like sed -i 's,github.com/zfsonlinux/zfs.git,github.com/tcaputi/zfs.git,' PKGBUILD