HackerTrans
TopNewTrendsCommentsPastAskShowJobs

znwu

no profile record

comments

znwu
·3 yıl önce·discuss
A bit of clickbait. Brief explanation of why that huge perf gap on a well-solved problem:

1. The `memcpy` idea is trivial. I know it's there to serve a different argument. But saying "professional" can't think of `memcpy` is clickbait.

2. Having a bad char table makes a totally different algorithm. A "professional" should at least finish reading their textbook, instead of writing the naive algorithm in Version 3.
znwu
·3 yıl önce·discuss
This page has some interesting ideas about "safety" without any pre-conditions.

As a starter, Java is safe. Probably safer than most of the C-based candidates on this list. And we are only speaking about Java without tooling vs C with tooling.
znwu
·4 yıl önce·discuss
The open-sourced toolchain of RISC-V accepts any kind of extensions as long as they are in the reserved code space, basically out-of-the-box. The current ratifying body does not hold any special toolchain or legal influence other than its publicity, thus irrelevant in this comparison.
znwu
·4 yıl önce·discuss
My Gosh, what was happening with this project? At first they target to ship in chrome 97, then 101, then 105, then 109, now 113. Are we building fusion reactors that are constantly four months away?
znwu
·4 yıl önce·discuss
Well this is bad. Just checked the code, `RandomState` invokes `wasi::random_get()` on wasi target. It means virtually every std program in Rust would require random number generator privilege in the upcoming WASI unless the author intentionally avoid using default HashBuilder and somehow treeshake the stuff out(?).

This seems to be a fundamental conflict of interest between server-side programming and client-side sandboxing. Now the preventive security measures cost us not only performance on the table, but also privilege spam.
znwu
·4 yıl önce·discuss
This article turned up with a valuable proposition. Although I would still argue open source software itself is as political as it can get (Forked code has no value. Communities of people behind the code matters), but I do agree that such thing should have some kind of process. It should not be the personal FM radio for the editor-of-the-day.
znwu
·4 yıl önce·discuss
RISC no longer has the clear border as it had 30 years ago. Nowadays RISC just means an ISA has most of the following points: 1. Load/Store architecture 2. Fixed-length instructions or few length variations. 3. Highly uniform instruction encoding. 4. Mostly single-operation instructions.

These four points all have direct benefits on hardware design. And compressed ISA like RVC and Thumb checks them all.

On the contrary, "fewer instruction types", "orthognoal instructions" never had any real benefit beyond perceptual aesthetics, so as a result they are long abandoned.
znwu
·4 yıl önce·discuss
Finally some updates after all these years. I'm just curious about the relations between the older "nanoprocess" and the now Component Model. Previously the nanoprocess model promised fine-grained containerization, I wonder if the Component Model still targets the same granularity?
znwu
·4 yıl önce·discuss
On ISA design, it is just so wrong to endorse the opinion of a single person. ISA design has three significant parties of interest: IC designers, compiler authors, and software developers.

No one can master these three fields all at once. No one. Not even Linus (who would be a master software developer + a decent compiler specialist).
znwu
·4 yıl önce·discuss
Chip and ISA are almost irrelevant stuff. No matter how you emphasize on end product performance, you cannot deny there SHOULD be a metric to compare ISA designs.
znwu
·4 yıl önce·discuss
From my perspective, Rust does not belong in kernel. But meanwhile Linux kernel does not belong in modern infrastructure. Until the day a mature kernel-oriented language and an established kernel showed themselves, Frankenstein experiments will continue to trump both parties.
znwu
·4 yıl önce·discuss
They seem to adopt a rapid iteration model closer to browser rather than typical language runtimes. So a browser 1.0 is nothing close to finished. I personally have no problem on it. But I think it is indeed strange that they sound so serious about correctness while constantly rolling new major versions.
znwu
·4 yıl önce·discuss
Just curious, how would a high-level IR processor knows beforehand that a certain piece of code was longer/shorter than 4kB/1MB, if it do not try to compile it in pieces first.
znwu
·4 yıl önce·discuss
Mainly because they can. They already have excellent team & experience in designing low power cores from the ground up, and also they have their great LLVM team for the compiler. Core plus compiler, that's all you need for a in-house processor. There are very few companies with this kind of combinations, and those who have them all chose to build their own hardware stack.

When you have the hammer, it becomes a crime to not hit the nail. Especially so when you find out you have a better hammer than your hammer contractor.
znwu
·4 yıl önce·discuss
Hasn't looked into this. But definitely curious about the relationship between the two

https://news.ycombinator.com/item?id=29217829
znwu
·4 yıl önce·discuss
Alongside with Windows long since 1.35 https://github.com/rust-lang/rust/pull/20367
znwu
·4 yıl önce·discuss
For those who are wondering why the heck would a microarhitectural exploit would "work" on a ISA level as the title suggested:

No, it doesn't. This paper talks only about textbook RISC-V BOOM cores. Interesting work, but clickbait title.
znwu
·4 yıl önce·discuss
I've been tracking this since May. I'd say it's disappointing that it did not make itself into 1.62 in the end.
znwu
·4 yıl önce·discuss
This sounds suspiciously like using risc-v for web-assembly businesses.

Any advantage for this method vs non-JIT wasm? (perfromance or platform compatibility?)
znwu
·4 yıl önce·discuss
I would say the current state of RISC-V is complete but still lacks the final kick. Yes, you can now build an application core out of it, given that V, B, K extensions are now ratified under RVA22. However most high-performance u-archs are not built for client applications -- they are usually built for server/professional market and then derive down to the client side. (Edit: or if not in the Apple and ARM case, curated computing also needs something beyond regular client applications)

For server/professional market, RISC-V still lacks a selling point. Perhaps something like a pointer masking, memory tagging, or transactional memory in the J and T extensions which are still in very early stages.