News for hackers. Stuff that matters.
Re:GSL – a Universal Code Generator by patrickg_zill on Sunday April 24, 2016 @01:17AM (#11558645)
There is more to GSL than XML processing. GSL was used to write ZeroMQ along with many other pieces of software. GSL can also be used to write FSM (finite state machines) and an earlier variant called Libero, was used to write the very well regarded, Xitami multithreaded web server.

I just installed it yesterday so haven't been able to fully suss out how I will use it.

Hintjens also wrote the CLASS style guide/ subset of C usage which is used for ZeroMQ etc. I don't program in C, thus, can't offer an informed opinion about it - but perhaps another HN'er can chime in on the quality of it.

Re:GSL – a Universal Code Generator by PieterH on Sunday April 24, 2016 @05:20AM (#11559071)
The ZeroMQ core library does not use gsl. We use it in two projects, zproto and zproject, which are nice examples of what is possible without going too meta. I started explaining zproject in my [Scalable C](http://Scalablec.org) book.
Re:GSL – a Universal Code Generator by hallmark on Monday April 25, 2016 @06:08PM (#11567779)
Are there useful heuristics on where GSL is most applicable? Where it is relevant and powerful and not too meta; just the right amount of abstraction to represent a problem and its solution.

For example, "GSL is likely a good choice at <abstract problem description>, such as <some very concrete examples>. And it may not be appropriate for <abstract problem description>, such as <other concrete examples>. Because of <some specific reasons>."

I looked through the GSL website and also Scalable C and wasn't able to find any descriptions that place limits on the applications of GSL. A description of what a complex something isn't, from an expert, is almost as important as what that thing is.

Your writing style in Scalable C is incredible and enlightening. I will be studying and referencing that book, even if I'm not directly coding C.

Re:GSL – a Universal Code Generator by bogomipz on Sunday April 24, 2016 @11:32AM (#11559966)
Good stuff, looking forward to reading more of your book.