Readit News logoReadit News
bornelsewhere commented on We're bringing Pebble back   repebble.com/... · Posted by u/erohead
bornelsewhere · 7 months ago
Great news!

Is there a smart watch that would connect to two phones at the same time? I’d immediately buy one which showed notifications from my personal and work phones.

bornelsewhere commented on Optimizing Ruby's JSON, Part 1   byroot.github.io/ruby/jso... · Posted by u/todsacerdoti
byroot · 8 months ago
Not too sure what you mean by intrinsincs.

The `json` gem is implemented in C, so it's a black box for YJIT (the reference implementation's JIT).

The TruffleRuby JIT used to interpret C extensions with sulong so it could JIT across languages barrier, but AFAIK they recently stopped doing that because of various compatibility issues.

Also on TruffleRuby the JSON parser is implemented in C, but the encoder is in pure Ruby [0]

[0] https://github.com/ruby/json/blob/e1f6456499d497f33f69ae4c1a...

bornelsewhere · 8 months ago
Thanks!

Sorry about misuse of “intrinsics”. There is a simdjson library that uses SIMD instructions for speed. Would such an approach be feasible in the ruby json library?

bornelsewhere commented on Optimizing Ruby's JSON, Part 1   byroot.github.io/ruby/jso... · Posted by u/todsacerdoti
bornelsewhere · 8 months ago
Does ruby json use intrinsics? Could it?

Also, how does this play with the various JITs?

bornelsewhere commented on OxidOS Automotive   oxidos.io/... · Posted by u/todsacerdoti
Lorin · a year ago
I know quite a few people that would prefer not having rust in their cars.
bornelsewhere · a year ago
After build you have bare metal, no rust remains.

Deleted Comment

u/bornelsewhere

KarmaCake day1214December 12, 2019View Original