HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
haberman
on May 14, 2022
|
parent
|
context
|
favorite
| on:
Comparing the C FFI overhead on various languages
Some of the results look outdated. The Dart results look bad (25x slower than C), but looking at the code (
https://github.com/dyu/ffi-overhead/tree/master/dart
) it appears to be five years old. Dart has a new FFI as of Dart 2.5 (2019):
https://medium.com/dartlang/announcing-dart-2-5-super-charge...
I'm curious how the new FFI would fare in these benchmarks.
kcb
on May 14, 2022
|
next
[–]
Because their environment is using an Ubuntu version from 8 years ago. So a better title would be "Comparing the C FFI overhead on various languages in 2014"
meibo
on May 14, 2022
|
prev
|
next
[–]
Same with C#, it only benchmarks an old version of mono and not .NET Core, which has received several big performance boosts in recent releases.
elcritch
on May 14, 2022
|
prev
[–]
Actually looks like most of the languages are seriously outdated. Nim and Julia are both way outdated, Elixir is pretty outdated.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: