Better HN
topnewbestaskshowjobs
Log inSign up

vyodaiken

149 karma · joined Jan 26, 2016 (10y ago) · 234 submissions

Submissions

comment 1w ago · link · parent

I read your report and don't share your self-evaluation. The remarkable thing about your report is that I didn't see one mention of the fact that many of those editors were banned by Wikipedia.

comment 1w ago · link · parent

It's not "along the line of free Palestine" at all. It's expressing support, not for Palestinians, but for a banned group called "Palestine Action". Words have meaning. If you can't tell the difference between different sentences that mean different things but share some words, it's a reflection on you, not on UK anti-terrorism laws.

comment 3y ago · link · parent

It's ironic that Musks two big successes were funded by the Obama administration against vehement Republican objections. Shelby repeatedly tried to kill Space-X and without the $400million DOE loan Tesla would never have been able to start production - and without the electric car tax credit - it never would have been able to sell.

comment 4y ago · link · parent

The interdata was a strange machine architecture - before the era where everything started to look the same. Via Wikipedia: https://books.google.com/books?id=pWBoOXVjuZ0C&dq=%227%2F32%...

comment 4y ago · link · parent

It's interesting how often people repeat this argument as if it were persuasive. The compiler developers and Standards writers made an engineering decision which is hard to justify so most people who support it don't even try.

6.

Possibly Fun C Code(yodaiken.com ↗)

29 points · by vyodaiken · 4y ago · 6 comments

7.

Al Gore and the Internet(web.eecs.umich.edu ↗)

1 points · by vyodaiken · 4y ago · 1 comment

comment 4y ago · link · parent

Good explanation of my overly terse note. The current standard interrupt architecture imposes enormous latency and the synchronous timer could be more precise. The simplest implementation would just "fetch" jmp every N instructions (with N programmable) - just like voluntary switching but where the processor would volunteer the program.

9.

Understanding Paxos(yodaiken.com ↗)

8 points · by vyodaiken · 4y ago · discuss

comment 5y ago · link · parent

A) there is no evidence such phenomena - especially in net- are due to unsafe optimizations, b) those companies dont need to shift their costs to other users

comment 5y ago · link · parent

You still don't have any data.

comment 5y ago · link · parent

It's because C has pointers and FORTRAN doesn't and pointers are a pain for certain types of optimization.

comment 5y ago · link · parent

Your argument would be more compelling if programming languages with higher level iteration primitives were significantly more optimizable than C. The underlying processor architectures have loop indexes. Just pretending you can do applicative programming doesn't mean you can. C is very adaptable - even to GPUs. Also, I have yet to see that decent memory model.

comment 5y ago · link · parent

I doubt that very much, and one of the points of the article is that there is a shortage of data to back up claims like yours.

In any case, for people who want to write OS or cryptography or embedded systems or arithmetic libraries or ... in C, this is not a relevant point.

comment 5y ago · link · parent

There was no size_t in K&R1. Size_t was introduced in the standards process as was the definition of index variables in the for loop. You may have a complain with the standard there.

As for the optimization, it is based on misunderstanding of C semantics. The only place where the sign extend makes a difference is where pointers are longer than "ints" AND where the the iterator can overflow, and in that case, sign extend only makes a difference if the loop is incorrectly coded so that the end condition is never true. The code should just provoke a warning and then omit the sign extend (and it almost certainly doesn't make much of a difference since sign extend is highly optimized and has zero cost in a pipelined processor).

comment 5y ago · link · parent

It is because they are "free" and also because they attract massive investment from FAANG and National Labs etc.

comment 5y ago · link · parent

Nobody claims optimizations are not important.

comment 5y ago · link · parent

Maybe you should tell the Linux developers that they are making a mistake.

19.

PLOS2021: ISO-C became unusable for operating systems(yodaiken.com ↗)

60 points · by vyodaiken · 5y ago · 98 comments

comment 5y ago · link · parent

if it was a randomly selected function, which it is not.

comment 5y ago · link · parent

The most interesting thing is that his critique of Pascal type rigidity applies to C Standard C, which is very different from C.

22.

Ken Thompson on Pascal(lysator.liu.se ↗)

3 points · by vyodaiken · 5y ago · 2 comments

comment 5y ago · link · parent

This proposal is moving through the C standards process and I was curious about whether people think it is a good idea. It appears to have a lot of backing in the Committee ( I am dubious, but I think I am in the minority).

If there is interest, I will also publish links to other proposals that are moving forward in the C23 process.

24.

Proposal for adding generic lambdas to C Standard [pdf](open-std.org ↗)

4 points · by vyodaiken · 5y ago · 2 comments

comment 5y ago · link · parent

Send Linux Torvalds a note and tell him he has only superficial knowledge of C.

comment 5y ago · link · parent

https://www.yodaiken.com/2021/05/21/your-computer-is-a-fast-...

comment 5y ago · link · parent

FYI https://www.yodaiken.com/2021/05/21/your-computer-is-a-fast-...
12345
8