|
|
Log in / Subscribe / Register

My advice on implementing stuff in C:

My advice on implementing stuff in C:

Posted Oct 16, 2010 14:40 UTC (Sat) by Baylink (guest, #755)
In reply to: My advice on implementing stuff in C: by cmccabe
Parent article: Russell: On C Library Implementation

Aw, c'mon; I haven't had a good R-war since Usenet died. :-)


to post comments

My advice on implementing stuff in C:

Posted Oct 19, 2010 11:44 UTC (Tue) by nix (subscriber, #2304) [Link] (1 responses)

I've never seen an R-war at all. Your statistical language is better than my statistical language!

My advice on implementing stuff in C:

Posted Oct 21, 2010 19:58 UTC (Thu) by njs (subscriber, #40338) [Link]

R has some excellent bits that are difficult/impossible to get without baking them into the core language design (support for NA ubiquitous across all data types, the formula syntax, the quirky call-by-thunk convention that lets you get ad-hoc macro-like behavior even for non-macro functions), BUT the interpreter is a piece of junk by modern standards -- and honestly even by not-so-modern standards, given that R is a Lisp (it does refcount based COW, where the refcount values are "1, 2, many", so in practice it's an imperative vector language that does not support in-place mutation), the C API is awful and exposes all of the interpreter's implementation details (so you can't fix any of them), and while in theory it has nice namespace support in practice you end up with a giant flat soup of poorly organized functions that do random things, like PHP.

TAKE THAT


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds