News for hackers. Stuff that matters.
Re:“C is how the computer works” is a dangerous mindset for ... by cozzyd on Tuesday March 31, 2020 @02:51PM (#22741059)
Indeed. C++ is relatively portable too (or at the very least, can be made to hide behind a C ABI in many cases) and it seems like Rust is as well. Whereas, if you have a library written in python that you want to leverage, you're forced to include a python interpreter. This sucks.
Re:“C is how the computer works” is a dangerous mindset for ... by goatlover on Tuesday March 31, 2020 @03:20PM (#22741374)
Julia lets you run Python, R and Fortran libraries.
Re:“C is how the computer works” is a dangerous mindset for ... by dagw on Tuesday March 31, 2020 @04:09PM (#22741936)
Only if you have a complete Python/R environment installed.
Re:“C is how the computer works” is a dangerous mindset for ... by cozzyd on Tuesday March 31, 2020 @10:03PM (#22744894)
Fortran has a simple ABI. How does it run R and python libraries? Probably through an embedded Python interpreter?