News for hackers. Stuff that matters.

wolfspaw

Re:A sub-millisecond GC for .NET? on Thursday May 22, 2025 @01:01PM (#44064065)
Damn, 50x better =O
Re:Too Much Go Misdirection on Monday May 19, 2025 @11:23PM (#44037483)
great comment! And you're right, one of the biggest Strengths of Rust is Move done right. With const, borrow, move, ref rules... the default way usually does not make unnecessary copies.

And when you want to make a copy, to escape lifetime annoyances for example, you do a .clone() that very explicit marks a point of a Copy.

Great Parody, taken very far with the Python code and Math decomposition xD
There are antibot measures that do not depend on JS or cookies, like asking the name of a Red fruit, and the server adding the IP to allowed.

Very easy to bypass for sure, but custom enough to protect you from the horde of generic bots =p

Re:Implementing Generic Types in C on Wednesday March 19, 2025 @05:28PM (#43417502)
Lol, thats insane.

And awesome, I love it!

Re:I stopped everything and started writing C again on Wednesday March 12, 2025 @02:44PM (#43346406)
" I was gaining a lot of money with Ruby on Rails

Then, I decided to move to Common Lisp and start gaining less and less money

Then, I decided to move to C and got Nerd Snipped "

Well, atleast he seems more happy xD

C is cool though

Re:All Kindles can now be jailbroken on Monday February 17, 2025 @12:36PM (#43081383)
Nice! With this Jailbreak can one install a Manga/Novel aggregator/reader like Mihon Manga reader?
Re:Roc rewrites the compiler in Zig on Tuesday February 04, 2025 @07:27PM (#42941524)
Odin is the best (followed by Zig)

Odin has the best approach for "standard library" by blessing/vendoring immensely useful libraries

Odin also has the best approach for Vector Math with native Vector and Matrix types

Re:Terminal Colours Are Tricky on Thursday October 03, 2024 @01:02PM (#41732575)
Nah, the background picture is based xD
Re:Terminal Colours Are Tricky on Thursday October 03, 2024 @01:01PM (#41732560)
Your stylized fbterm screen is awesome, always good to have a cute anime girl lol.

Really good colors and organization of the terminals, it would be great for serious work too in my view =p

Re:Lesser known tricks, quirks and features of C on Friday September 27, 2024 @04:26AM (#41667681)
I agree wholeheartedly, I really liked your article and fix.

(In fact, I already had your article bookmarked xD, and I’m familiar with and truly admire your work)

Re:Lesser known tricks, quirks and features of C on Thursday September 26, 2024 @05:52PM (#41663873)
Really liked the trick of defining the struct in the return part of the function.

Array pointers: Array to pointer decay is extremely annoying, if it was implemented as Array to "slice" decay it would be great.

Static array indices in function parameter declarations: awesome, a shame that C++ (and Tiny C) do not support it >/

flexible array member: extremely useful, and now there are good compiler flags for ensuring correct flexible array member usage

X-Macro: nice, no-overhead enum to string name. Didn't know the trick

Combining default, named and positional arguments: Named-arguments/default-arg, C version xD. It would be cool if it was added to C language as a native feature, instead of having to do the struct hiding macro.

Comma operator: really useful, specially in macros

Digraphs, trigraphs and alternative tokens: di/tri/graphs rarely useful, alternatives synonims of iso646.h are awesome, love using and/or instead of &&/||

Designated initializer: super awesome, could not use if you wanted C++ portability. Now C++ supports some part of it.

Compound literals: fantastic, but in C++ it will explode due to stack deallocation in the same line. C++ should fix this and allow the C idiom >/

Bit fields: nice for more control of structs layout

constant string concat: "MultiLine" String, C version xD

Ad hoc struct declaration in the return type of a function: didn't know this trick, "multi value" return, C version xD

Cosmopolitan-libc: incredible project. Already knew of it, its awesome to offer a binary that runs in all S.Os at the same time.

Evaluate sizeof at compile time by causing duplicate case error: ha, nice trick for debugging the size of anything.

(FORCE) Pusheedd to Prod on FRIDAYY -- Burneeeddd by its Sins
Re:Quartz: A Deterministic Time Testing Library for Go on Monday July 15, 2024 @05:23PM (#40971579)
Nice, Golang is Awesome!
Re:Rust has a supply chain security problem on Wednesday July 03, 2024 @02:08PM (#40868536)
I would love that proposal, having to import 400 third-party crates can be a terrible approach for Safety
C evolves, even if slowly.

I think some devs are fed up of Complexity and excessive abstractions.

C has very few language features, it's a very simple language -- while all modern languages have new (complex and taxing) features.

It's kinda like a Minimalist movement, can we do the same Modern Mumbo Jumbo but in a simple, minimalistic C way?

GC and RAII? Nah, just use Arenas/Pools. Or don't use heap at all.

C is an unsafe language but modern tools get better and better every year, with GCC doing really cool static analysis and finding buffer overflows at compile time.

Also, C runs anywhere and everywhere.

Nice!

Python-like + High-performance.

And, Different from Mojo, its Fully Open-Source.

Re:No-code hype train on Wednesday March 13, 2024 @04:34PM (#39697107)
I agree with the other commenter: ChatGPT content =p
Re:Mojo vs. Rust: is Mojo faster than Rust? on Monday February 12, 2024 @05:48PM (#39351607)
Nice, Mojo seems awesome.

It has better ergonomics than Rust, and the same performance ballpark (or better?)

I Just don't trust closed source PLs...

Re:So you want custom allocator support in your C library on Monday December 18, 2023 @01:49AM (#38679890)
Really liked that single-alloc-function strategy.

Minimalist and Elegant.

Re:Is anyone using PyPy for real work? on Tuesday August 01, 2023 @04:36PM (#36962412)
Really cool!

Competitive Programming needs a lot of speed to compete with the C++ submissions, really cool that there are Contestants using Python to win.

No more lock: the Seal of Power will be Released.
From the author of the Python TRIO Library, Nathaniel J. Smith

Previous discussion: https://news.ycombinator.com/item?id=31955334

Older »