Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
361.
▲
by
ryao
1y ago
Wikipedia states that WSL was made based on WSA.
362.
▲
by
ryao
1y ago
It was previously called the Windows Subsystem for Android before it pivoted. It had a spiritual predecessor called Windows Services for UNIX. I doubt the name had been chosen for the reasons you say, considering the history. That said, to
363.
▲
by
ryao
1y ago
> Edit: for clarity, by "multiple OS" I mean multiple Linux versions. Like if one project has a dependency on Ubuntu22 and another is easier with Ubuntu24. You don't have to stress "do I update my OS?" You can ru
364.
▲
by
ryao
1y ago
You could use CMP(A, B) as part of your lexographic comparison and then have it output the result of the first non-zero result (unless you find both strings are equal, in which case, you would output zero) when comparing characters. If you
365.
▲
by
ryao
1y ago
The RP2350 lets you choose between 2 RISC-V cores and 2 ARM cores. I believe it even supports 1 RISC-V core and 1 ARM core for those who like the idea of their microcontrollers using two different ISAs simultaneously. Microchip Technology h
366.
▲
by
ryao
1y ago
It is funny that you should say that, considering that I was wondering this myself earlier today WRT the Hazard3 cores in the RP2350. It turns out someone did benchmarks: https://icircuit.net/benchmarking-raspberry-pi-pico-2
367.
▲
by
ryao
1y ago
Good point. I withdraw my remark.
368.
▲
by
ryao
1y ago
So far, Qualcomm is not paying the royalty rate hikes since they are selling ARM hardware using cores covered under the ARMv8 architectural license that they obtained before SoftBank started pushing ARM to improve profitability. It is inter
369.
▲
by
ryao
1y ago
If you take the time to read my comments thoroughly, you will notice that I always spoke to your behavior, and not to you personally. There has been nothing wrong with my behavior, which has been tame compared to how a number of others in t
370.
▲
by
ryao
1y ago
There is a history of industry litigation over people implementing others’ ISAs without their full blessing. The Qualcomm ARM lawsuit was the most recent example of this. There is less litigation over people designing CPUs using ISAs whose
371.
▲
by
ryao
1y ago
Patents tend to expire at different times around the world, plus there is the possibility of submarine patents. Without a declaration from Hitachi, adopting any processor design using their ISA is likely considered a legal risk. Beyond that
372.
▲
by
ryao
1y ago
That has not stopped new CPU designs from being made for any architecture and will not stop RISC-V designs from being made. If this were an actual problem, no one could design CPUs.
373.
▲
by
ryao
1y ago
You should apologize to the people reading your comments for wasting their time. It is clear you are clueless about RISC-V and your foot is well into your mouth. As for the J2, its creator does not request licensing fees, but Hitachi might
374.
▲
by
ryao
1y ago
RISC-V already has taken off. There are billions of RISC-V cores shipped in consumer products every year. Adoption outside of the embedded MCU space is slower, but that is natural. Your FUD about SiFive is absurd. Hardware patents related t
375.
▲
by
ryao
1y ago
SuperH is owned by Hitachi. You cannot use them without a license from Hitachi as far as I know. RISC-V is unique in that its creator permits anyone to make and use RISC-V cores royalty free. It also supports 64-bit, which SuperH never did.
376.
▲
by
ryao
1y ago
Qualcomm has a serious development effort in their Oryon CPU cores. Marvel had ThunderX from the Cavium acquisition, but they seem to have discontinued development.
377.
▲
by
ryao
1y ago
Anyone is free to make a RISC-V CPU without infringing on SiFive’s IP.
378.
▲
by
ryao
1y ago
You should not reason about China as a monolithic entity. China has a population of 1.4 billion people. Some look outward while others look inward. Those looking outward are interested in RISC-V for certain things since it is not subject to
379.
▲
by
ryao
1y ago
So far, patent lawsuits have been more of a problem for those using ARM designs (Qualcomm) than those using RISC-V designs. The Raspberry Pi foundation, Western Digital and Nvidia have successfully put RISC-V designs into their products wit
380.
▲
by
ryao
1y ago
Software division is often faster than hardware division, so your performance remark seems to be a moot point: https://libdivide.com/
381.
▲
by
ryao
1y ago
That is not what your link says, but regardless of the details, Chinese companies are free to do whatever they want if they have no interest in exporting their products outside of China. Many do not care about markets outside of China. It i
382.
▲
by
ryao
1y ago
The RP2040 and RP2350 are fairly big changes from the status quo, although they are not very energy efficient compared to other MCUs. Coincidentally, the RP2350 is part of the RISC-V ecosystem. It has both RISC-V and ARM cores and lets you
383.
▲
by
ryao
1y ago
Being customizable is one of RISC-V’s strengths. Multiplication can be easily done in software by doing bit shifts and addition in a loop. If an embedded application does not make heavy use of multiplication, you can omit multiplication fro
384.
▲
by
ryao
1y ago
RISC-V is definitely gaining traction in China, but it does not have a monopoly on Chinese CPU core design: * Loongson is pushing a MIPS derivative forward. * Sugon is pushing a x86 derivative (originally derived from AMD Zen) forward
385.
▲
by
ryao
1y ago
There are an incredible number of companies designing their own RISC-V cores right now. Some of them are even are making some of their designs entirely open source so that they are royalty free. The highest end designs are not, but it is ha
386.
▲
by
ryao
1y ago
AMD and Intel actually fabricate chips for sale to others (outsourced to TSMC in AMD’s case) and take the risks associated with that. ARM on the other hand is just an IP provider. They are not comparable. ARM should have kept its original s
387.
▲
by
ryao
1y ago
I have been known to fix bugs involving signed integer overflow in C code others wrote. In any case, send your feedback to the C standard committee. They can change the standard. It would not be a bad change to make.
388.
▲
by
ryao
1y ago
They are sometimes very good at using mathematical identities to do simplifications. The following commit was actually inspired by the output of GCC: https://github.com/openzfs/spl/commit/8fc851b7b5315c9cae925
389.
▲
by
ryao
1y ago
My comment had been meant for C, but it should apply to C++ too even when operator overloading is used, provided the comparisons are simple and inlined. If you add overloads for the > and < operators in your string example to a place
390.
▲
by
ryao
1y ago
That is an approximation. If approximations are acceptable, then here is a trick you might like. In loops that call cosf(i * C) and/or sinf(i * C), where i is incremented by 1 on each iteration and C is some constant expression, you ca
More ›