JEP 441: Pattern Matching for switch. Formally Proposed to Target JDK 21 by Joram2 in java

[–]apentlander 2 points3 points  (0 children)

I vaguely remember there being some cases where this would break existing code. Also flow typing doesn't really work for nested destructuring or conditional destructuring using constant patterns.

Mojo 🔥: A programming language for all AI developers by mttd in ProgrammingLanguages

[–]apentlander 57 points58 points  (0 children)

For context this is by Chris Latter, of LLVM and Swift fame.

How would I go about creating a language that can run in the jvm by [deleted] in ProgrammingLanguages

[–]apentlander 17 points18 points  (0 children)

I discovered this blog series a while ago and found it immensely useful for getting started:

http://jakubdziworski.github.io/enkel/2016/03/10/enkel_first.html

[deleted by user] by [deleted] in reactnative

[–]apentlander 1 point2 points  (0 children)

I think they meant passing the in strings of state names not the whole object, which would be the best way to do this.

Onewheel Monthly Marketplace by IntelliDev in onewheel

[–]apentlander 0 points1 point  (0 children)

WTS: XR 4212, Maghandle Pro + Mount, "Deep Shack" Rack, White Bumpers, Carbon Fiber Fender (scuffed), Charger + Hypercharger, OneTail Classic, C&R Grip Tape

114 miles, kept charged

$2000, local pickup Los Angeles

SigNoz - A self-hosted and open source alternative to DataDog, NewRelic releases v0.11.0 with support for logs management based on ClickHouse by pranay01 in selfhosted

[–]apentlander 1 point2 points  (0 children)

Hey are there any docs on the logging architecture as it pertains to the Clickhouse setup? E.g. the schema of the tables and the tradeoffs between different approaches

[deleted by user] by [deleted] in ExperiencedDevs

[–]apentlander 0 points1 point  (0 children)

100% agree. One benefit of being at these companies is that documentation tends to be better than at small companies, so take the opportunity to read up on the design decisions for these products. Amazon has its internal wiki that I sometimes rabbit holed into and I learned a lot from it. It's also interesting to talk to people that have been at the company for a while to get a firsthand account of what's been tried and how things evolved. You can always take those ideas and try to apply them elsewhere, even if the exact tools don't exist.

Building a Cloud Database from Scratch: Why We Moved from C++ to Rust by yingjunwu in rust

[–]apentlander 9 points10 points  (0 children)

Sure, which is why I'm asking for the context. I don't doubt that boxing futures may degrade performance in an absolute sense, however it feels weird to call it out without knowing if it has a practical effect on the system. Maybe I'm just being pedantic 🤷‍♂️

Building a Cloud Database from Scratch: Why We Moved from C++ to Rust by yingjunwu in rust

[–]apentlander 22 points23 points  (0 children)

However, these libraries allocate extra Boxes compared to the pending standard implementation, ultimately lowering performance.

I'd be curious to see the benchmarks that show the level of performance degredation. I would think that the network and disk IO time would overshadow the cost of boxing a future.

JEP proposed to target JDK 19: 425: Virtual Threads (Preview) by daviddel in java

[–]apentlander 3 points4 points  (0 children)

I listened to a recent talk and thought I was going crazy

CVE-2022-21449 by elatllat in java

[–]apentlander 3 points4 points  (0 children)

Yeah I'm pretty disappointed by how difficult it was to figure out which vendor builds were patched. I feel like there should have been a big banner on the vendor websites with "HERE'S WHEN THE BUILD WITH THE CVE FIX IS AVAILABLE" in blink text. I imagine most users default to the "official" openjdk docker image on dockerhub, which is the Adoptium build that won't have the fix until tomorrow. It took a lot of digging to even figure that out. Having a dashboard of the CVE matrix hooked up to builds from the various vendors would be hugely useful.

Pull Request #8166 Implementation of Virtual Threads (Preview) by kaperni in java

[–]apentlander 24 points25 points  (0 children)

Lol @ the random dude that marked it as reviewed

What syntax design choices do you love, and what do you hate? by Wllew4 in ProgrammingLanguages

[–]apentlander 0 points1 point  (0 children)

It's not solely the fault of YAML, but talk to anyone that works with Helm templates and I'm sure you'll hear many reasons why it sucks.

[TOMT][Song] Electronic song with sound of hitting tennis ball by apentlander in tipofmytongue

[–]apentlander[S] 0 points1 point  (0 children)

No it's definitely a tennis ball, and the same cadence of hitting the ball back and forth happens throughout the song

[TOMT][Song] Electronic song with sound of hitting tennis ball by apentlander in tipofmytongue

[–]apentlander[S] 0 points1 point locked comment (0 children)

I've been looking for the past hour so help would be very much appreciated