News for hackers. Stuff that matters.
Re:Next steps for Rust in the kernel by VyseofArcadia on Wednesday September 21, 2022 @10:29AM (#32925652)
With Java? I usually think of Perl as a glue language, like bash scripting. Java would not be my choice to glue components together.
Re:Next steps for Rust in the kernel by dhosek on Wednesday September 21, 2022 @10:42AM (#32925871)
Nah, Perl can be a perfectly fine applications language. Some things get kind of ugly with it (object-orientation is notoriously hacky and there are two different approaches to classes that take inverse (literally) approaches to how to represent the objects in terms of Perl’s scalars, arrays and maps. It does suffer a bit from being an early mover so there are questionable choices like the fact that library code is traditionally installed system-wide so good luck if application A needs library v3 an application B needs v2 and v2 and v3 have some subtle incompatibility, but Perl is no less capable than Python and arguably more capable than PHP, both of which have plenty of applications written in them.
Re:Next steps for Rust in the kernel by umanwizard on Wednesday September 21, 2022 @11:34AM (#32926593)
Perl was the primary application-layer language at Amazon. It was used for most things that didn't need to be in a low-level language for performance or other reasons (for those, C++ was used instead).