←back to thread

278 points jwilk | 7 comments | | HN request time: 1.103s | source | bottom
1. bryanlarsen ◴[] No.44382391[source]
> The point is that libxml2 never had the quality to be used in mainstream browsers or operating systems to begin with

I think that's seriously over-estimating the quality of software in mainstream browsers and operating systems. Certainly some parts of mainstream OS's and browsers are very well written. Other parts, though...

replies(2): >>44383097 #>>44384586 #
2. burnt-resistor ◴[] No.44383097[source]
That's the problem of abusing and freeloading off critical components of the FOSS supply chain. Megacorps must pay their fair share or bad things happen, just like unbounded, corrupt crapitalism.
3. karel-3d ◴[] No.44384586[source]
I have only experience with Chrome codebase and while it's C++ (which I don't personally like) it's pretty solid and most of the weird hairy stuff were the external linked libraries. But I didn't poke around THAT much.
replies(2): >>44384647 #>>44386379 #
4. troupo ◴[] No.44384647[source]
Remember "25000 string allocations per each key stroke"? https://groups.google.com/a/chromium.org/g/chromium-dev/c/EU...
replies(1): >>44386051 #
5. quietbritishjim ◴[] No.44386051{3}[source]
That's certainly interesting but to give context for those not following the link: This is for entering into the address/search bar, so it covers all the work of searching history, performing network requests to autocomplete search terms, and displaying those results. It's not like entering a character into a regular text box on a page.
replies(1): >>44386185 #
6. troupo ◴[] No.44386185{4}[source]
IMO no amount of context can justify 25000 string allocations per key stroke :)

Also, if you read the issues in the first post, it has nothing to do with "covering all the work". It's just really bad programming

7. prmoustache ◴[] No.44386379[source]
Using badly written external linked library is bad software engineering / quality too as the responsibility lies into who are linking it.