HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ErikCorry

no profile record

Submissions

State of URL parsing performance in 2025

yagiz.co
3 points·by ErikCorry·7 mesi fa·0 comments

comments

ErikCorry
·4 mesi fa·discuss
Yeah performance counters
ErikCorry
·5 mesi fa·discuss
I like the coins idea. I don't subscribe because I know I'll forget about it and it will turn into a recurring charge on my credit card. But I would buy $10 of coins, knowing the paywall just comes back if I don't buy more, and if I lose interest it won't keep costing me anything.

When I see the "$1 introductory offer" I just think they are trying to trick me.
ErikCorry
·5 mesi fa·discuss
$13/month is less than many of those sites cost individually, but I get them all for that price?
ErikCorry
·6 mesi fa·discuss
A lot of it went into V8 too.
ErikCorry
·7 mesi fa·discuss
I'm actually pretty surprised if the JVM uses malloc to allocate the heap. V8 uses mmap, never malloc.
ErikCorry
·7 mesi fa·discuss
Larry should be remembered for the development of "patch" more than perl. Without the concept of fuzzily applying patches to modified source files you can't have "git rebase" or "git merge".
ErikCorry
·7 mesi fa·discuss
The syntax problems are just surface. There are some real problems underneath:

Poor performance of the single implementation.

A single implementation.

Leaky ref counted GC, but 'luckily' the syntax for references is so clunky that nobody does anything complicated enough that it really matters.

Bolted on object oriented features that never got the love they needed at a time when oo languages were sweeping the world.

Most of the wizards decamping to a new language (Perl6) that was 'developed' for years without an actual implementation to keep them grounded.
ErikCorry
·7 mesi fa·discuss
Nice!

Why malloc? Surely this is an on-heap object, not malloc allocated?
ErikCorry
·8 mesi fa·discuss
Yeah if you ever wondered why the fields in a lot of Posix APIs have names with prefixes like tm_sec and tm_usec it's because of this misfeature of early C.
ErikCorry
·8 mesi fa·discuss
You could always manually build the same thing as lambda with a class and you had the same problem.
ErikCorry
·8 mesi fa·discuss
The C++ GC is not for V8 code, it's for the users of the V8 API eg. Chrome (Blink). It's not being used for big internal systems like the compilers or GC.

V8 has its first module in Rust and I'm sure more are coming, but it's not necessarily an easy integration.

JS is a GCed language. Are there good examples of Rust interacting well with a GCed language runtime where it is able to free unreachable cross domain pointer cycles? Like a JS object that has a reference to a Rust object, which itself has a reference to a JS object. Add more steps and hopefully you can see that collecting such cycles is a hard problem. This is the problem the C++ GC solves.

By the way you can't always break cycles with weak pointers. The browser standards have semantics you have to adhere to.
ErikCorry
·9 mesi fa·discuss
That sounds like a lot:

To help prevent vitamin D toxicity, don't take more than 4,000 international units (IU) a day of vitamin D unless your healthcare professional tells you to. Most adults need only 600 IU of vitamin D a day https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-h...
ErikCorry
·9 mesi fa·discuss
Most vitamins are a waste of time and money, some are even harmful[1], but there are a lot of people with D deficiency, especially in winter[2].

1 https://www.mdpi.com/2072-6643/17/17/2744#:~:text=highest%20...

2 https://www.abs.gov.au/articles/vitamin-d#edit-group-image--...
ErikCorry
·9 mesi fa·discuss
IME ducks don't go into the coop at dusk so they will get trapped on the wrong side.
ErikCorry
·9 mesi fa·discuss
Is that why it doesn't work?
ErikCorry
·9 mesi fa·discuss
[Citation needed] for a pesticide connection.

Unless you are an insect, most pesticides are harmless for you. And for those that are not, nobody has proved a connection to allergies.
ErikCorry
·9 mesi fa·discuss
Miasma is a very bad idea because https://news.ycombinator.com/item?id=45647737
ErikCorry
·9 mesi fa·discuss
Eating peanuts reduces allergies, but getting peanuts on your skin increases allergies.

https://www.sciencedirect.com/science/article/pii/S009167491...

Or maybe in your lungs.

https://pmc.ncbi.nlm.nih.gov/articles/PMC8429226/#R7
ErikCorry
·9 mesi fa·discuss
Classic Azimov plot line
ErikCorry
·9 mesi fa·discuss
Forgotten? No mention of why we should think they are forgotten outside the headline.