Better HN
topnewbestaskshowjobs
Log inSign up

meisel

645 karma · joined Feb 10, 2020 (6y ago) · 166 submissions

Submissions

comment 3y ago · link · parent

What are the tools and resources you would recommend with respect to latency tuning?

comment 3y ago · link · parent

What are these first class facilities? Just curious

comment 3y ago · link · parent

What are C/C++/Zig/etc. missing that Chapel has?

comment 3y ago · link · parent

Thanks!

comment 3y ago · link · parent

I grepped and did not find

comment 3y ago · link · parent

Why would they use SipHash at all? That’s a significantly slower hash algo than, say, wyhash, and any additional DOS protection SipHash might have (assuming it does) seems irrelevant for this use case

comment 3y ago · link · parent

Just curious, what's the purpose of this? Are there any production use cases it's targeting, or is it just for fun?

comment 3y ago · link · parent

Address sanitizer violations caused when using C++ containers with ObjC objects

comment 3y ago · link · parent

I’ve been bitten enough by Objective-C++ compiler bugs (Apple’s attempt at mixing Objective-C and C++), as well as bugs in Apple’s code in the Swift ecosystem, not to trust the stability here for at least several years. I also don’t see how this is much better than just creating a C or ObjC wrapper around a C++ library, rather than needing to keep C++‘s complicated language features, and Swift’s interop with it, in my head as I use the library. Were there people clamoring for this? I can’t really see the point.

comment 3y ago · link · parent

Typically, the difference between equivalent JSON and Protobuf payloads that have been gzipped is quite small. It can even be that the gzipped Protobuf payload is larger than gzipped JSON one. Granted, there's less data to decompress out of it, which may mean a faster decompression stage, but I'm not sure that's a bottleneck in the first place.

So, do they not compress requests between microservices? Otherwise, how did they see such a reduction?

comment 3y ago · link · parent

Does this have applications for databases that rely on high-accuracy times, like Spanner?

comment 3y ago · link · parent

Dynamic programming problems are banned at a number of companies, and with good reason. Candidates ability to do well on them is largely a function of how much they’ve practiced those problems. I’ve never needed to do dynamic programming with caching of recursive overlapping sub problems ever, and only learned it recently during interview practice.

comment 3y ago · link · parent

Why did they decide to use a signed int and not an unsigned one

comment 3y ago · link · parent

How did Shopify choose between React Native and Flutter?

135.

Faster Apple Builds with the lld Linker(eisel.me ↗)

2 points · by meisel · 3y ago · discuss

comment 3y ago · link · parent

How do MJIT and YJIT differ?

comment 3y ago · link · parent

Can you link that thread? It sounds quite interesting

comment 4y ago · link · parent

Are there any large companies that use Crystal in production?

comment 4y ago · link · parent

How does chrome deal with this in whatever allocator they use?

comment 4y ago · link · parent

I generally find Protobuf the serialization format to have no benefits over JSON. Although Protobuf is often thought of as being faster to process and more compact, the reality is that it's usually not (at least as long as you're not working in a systems language like Rust or C++). It's not much faster than JSON to process because in the context of higher-level languages, the time to create usable objects out of the parsed input (which is independent of the serialized data they came from) is usually far larger than the time to parse the payload. And as for being more compact, if you gzip a Protobuf payload and its JSON equivalent, IME they end up being pretty close in size (sometimes the JSON version is actually smaller).

comment 4y ago · link · parent

Correct. We do provide a paid service for symbolicating all addresses with the help of dSYMs, though.

comment 4y ago · link · parent

What sort of workloads are those? I have yet to see a workload where macOS's system allocator is not substantially slower than alternatives like jemalloc.

comment 4y ago · link · parent

Will this have support for macOS by inserting itself, as jemalloc does, as the default malloc zone? If so, does that mean it will be very fast at determining if a given pointer was allocated by libpas?

comment 4y ago · link · parent

On the other hand, I think people listen to his views on politics largely because he's well-known as a chess player. In a sense, people do the opposite of an ad hominem attack, by putting more stock in his arguments because of how respected he is in chess. We have to remember that he's as fallible as anyone else.

comment 4y ago · link · parent

Kasparov also said “ there is real chess and women’s chess” and then lost to Judit Polgar

comment 5y ago · link · parent

I'd be really interested to see benchmarks of Apple's allocator versus others, both in memory consumption and performance. Sometimes, Apple's version of things is worse in almost all use cases, but I'll reserve judgment and wait to see numbers.

comment 5y ago · link · parent

mimalloc is briefly mentioned in my article, and I was surprised that it worked on the mac for swapping itself in. I found the performance of it to be roughly the same as jemalloc when I measured

comment 5y ago · link · parent

Yeah, related to timegm(), I made this to fix a performance issue: https://github.com/michaeleisel/JJLISO8601DateFormatter

149.

Faster Mac dev tools with custom allocators(eisel.me ↗)

113 points · by meisel · 5y ago · 33 comments

123456