News for hackers. Stuff that matters.
Re:John Ousterhout: My favorite sayings by wenc on Friday August 17, 2018 @04:27PM (#17785415)
Side note: Ousterhout was famous for being the author of Tcl/Tk, which was a popular language and GUI toolkit in the early days of Linux (before Qt and GTK came along).

I wouldn't be surprised if many older Unixes are still running Tcl/Tk apps.

Re:John Ousterhout: My favorite sayings by patrickg_zill on Friday August 17, 2018 @06:18PM (#17785841)
AOL's web properties were heavily dependent on Naviserver with its embedded Tcl interpreter, which they bought cheap and turned into AOLserver.

The Vienna based university, TU-Wien, still runs AOLserver and serves 40K users with it. OpenACS.org and dotLRN.org still use the same Tcl-based webserver today.

Gustaf Neumann shepherded the development of the use of OpenACS/dotLRN at TU-Wien, I think: http://nm.wu.ac.at/nm/neumann

Re:John Ousterhout: My favorite sayings by gnachman on Friday August 17, 2018 @11:36PM (#17786713)
AOLserver was my first job out of college. Glad someone remembers it!
Re:John Ousterhout: My favorite sayings by patrickg_zill on Saturday August 18, 2018 @12:40AM (#17786897)
I have customers that are still using it!
Re:John Ousterhout: My favorite sayings by rhymenoceros on Friday August 17, 2018 @06:36PM (#17785901)
Don't forget he was also one of the original authors of Raft: https://web.stanford.edu/~ouster/cgi-bin/papers/raft-atc14
Re:John Ousterhout: My favorite sayings by needlepont on Friday August 17, 2018 @06:29PM (#17785879)
TCL is a great systems programming language. When I need a glue language for an imperative model program it's my first choice.
Re:John Ousterhout: My favorite sayings by AceJohnny2 on Friday August 17, 2018 @06:51PM (#17785949)
What Lua is doing today, TCL was doing 20 years ago.

Though I believe Lua is a smaller binary, which matters in some embedded scenarios. According to [1], the core Lua interpreter is 40kB with additional base libraries of 22kB, so total of 62kB.

There are a variety of "small TCL" implementations [2], and one of them, TinyTCL claims to be <60kB, excluding C library functions. I can say that for my embedded requirements, Lua would win...

[1] https://www.lua.org/notes/ltn002.html

[2] https://wiki.tcl.tk/1363

[3] http://tinytcl.sourceforge.net/

Re:John Ousterhout: My favorite sayings by needlepont on Friday August 17, 2018 @07:27PM (#17786074)
Interesting. I tried Lua about 6 years ago and found myself unable to see an upside to the language in comparative perspective with python and tcl.

This is for full featured *nix systems programming in the HPC world so ymmv.

Re:John Ousterhout: My favorite sayings by AceJohnny2 on Friday August 17, 2018 @08:14PM (#17786215)
Lua's niche is absolutely as an embedded extension language for C/C++ programs. It's core benefits is how tiny and yet expressive it is (and it looks like C if you squint.) I've seen it show up in a variety of projects in that role, for games or embedded testing environments.

I indeed don't see it having any benefit over Python or TCL in more sophisticated environments.

Re:John Ousterhout: My favorite sayings by abenedic on Friday August 17, 2018 @10:27PM (#17786573)
The programming model for c ffi that lua uses is, I think, a little nicer.
Re:John Ousterhout: My favorite sayings by srean on Saturday August 18, 2018 @10:43AM (#17788666)
I have a soft corner for Tcl. Tcl was a pioneer. Lua is smaller, faster and more tightly and coherently designed. Lua had coroutines right from the start. With Lua you have the option of using LuaJIT. I enjoy both, but I would be more wary of using Tcl in critical systems. But when its play time, i happily break out tclsh.
Re:John Ousterhout: My favorite sayings by needlepont on Tuesday August 21, 2018 @11:45AM (#17810624)
I've used TCL in production for 15 years. The only thing to really worry about is a consistent policy on language usage. Keeping to the base features of the language and extensions in tcllib/tclx is a pretty solid recipe.

That said here are things I advise.

* No upvar/uplevel. Use a namespace. * Use apply wisely. * No ad-hoc (say swig inline wrappers) extensions without deep review. * If you are writing a front end in tk - think twice. * If you are doing OOP with TCL choose wisely.

Re:John Ousterhout: My favorite sayings by _ph_ on Saturday August 18, 2018 @02:05AM (#17787118)
Tcl/Tk is still used a lot. Tcl is still great for scripting applications and ships with many professional tools. Digital IC design very strongly depends on Tcl. Afterall, it was called "Tool control language" to script the design tools Ousterhout was developing.

Tk is still the quickest way to create a simple UI which is also highly portable across operation systems. With tclkit you can even create self contained Tcl/Tk applications on the big platforms (Win/Mac/Linux).

Re:John Ousterhout: My favorite sayings by keypusher on Friday August 17, 2018 @06:27PM (#17785874)
His "projects" page also lists "Log Structured File Systems" (which inspired LSM used by many databases) and Raft (the consensus protocol) as things he made significant contributions to.
Re:John Ousterhout: My favorite sayings by rhymenoceros on Friday August 17, 2018 @06:41PM (#17785913)
Indeed. Some of the ideas for LFS made their way into ZFS and btrfs: http://pages.cs.wisc.edu/~remzi/OSTEP/file-lfs.pdf
Re:John Ousterhout: My favorite sayings by sebcat on Saturday August 18, 2018 @02:18AM (#17787158)
> I wouldn't be surprised if many older Unixes are still running Tcl/Tk apps.

Or newer. e.g., I use gitk daily at work.

Re:John Ousterhout: My favorite sayings by amelius on Friday August 17, 2018 @07:53PM (#17786153)
He also developed an IC design system.

https://en.m.wikipedia.org/wiki/Magic_(software)

Re:John Ousterhout: My favorite sayings by rabidrat on Friday August 17, 2018 @05:24PM (#17785647)
The main configuration language of F5 BIGIP (load balancers) is TCL.