Hacker Newsnew | past | comments | ask | show | jobs | submit | GoblinSlayer's commentslogin

Can't you just have one syscall(2) to rule them all? https://man7.org/linux/man-pages/man2/syscall.2.html

You can. There is a thread-unsafe implementation here <https://gist.github.com/oguz-ismail/72e34550af13e3841ed58e29...>. But the listing needs to be per system call number, so this one only supports system calls 1 (_exit) and 4 (write). It should be fairly easy to automatically generate the complete list but I didn't try it.

C++ is more C-like than Zig and Rust, so it's more likely to become a C replacement.

I do feel like allowing for in-place source upgrading was critical to C++'s early successes. However, I feel like this ultimately worked against C++, since it also wed the language to many of C's warts and footguns.

C++ cannot seem to let go of the preprocessor, which is an anchor hurting the language at every turn.

BTW, in my C days, I did a lot of clever stuff with the preprocessor. I was very proud of it. One day I decided to replace the clever macros with core C code, and was quite pleased with the clean result.

With D modules, imports, static if, manifest constants, and templates the macro processor can be put on the ash heap of history. Why doesn't C++ deprecate cpp?


Except for all the baggage it carries along with it including hacks to address baggage resulting in a very bloated language.

The goal is C replacement, not some abstract perfection.

It's another type of proxy. Legitimate uses are the same as for other types of proxies.

I thought Iran situation is more about sharia than youtube cat videos.

It's not, the current protests are mainly about economic harshness.

Self hosted ms installations have no instant kill switch, only a slow one.

That's a systemic problem of sorts. First, there are already more games than you can possibly play. Second, modern games contain a lot of bullshit and are not in your taste. Third, you need a whopping battlestation to play even pixelart platformers. It's not clear if modern games are even worth to bother.

I played Yoshi's island as an adult and think it's the best platformer game. I wonder if it counts as nostalgia.

NES games are accessible :3

Also 2-player games.


The package manager can't help with subscription schemes based on short lived licenses.

1. ban guns

2. start civil war

3. ???

4. civil war with stone axes


There are more currently owned guns in circulation in the US than people.

One thing is for sure, any civil war in the us will not be short on guns.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: