News for hackers. Stuff that matters.
Re:BCHS stack – BSD, C, httpd, SQLite by doktrin on Sunday June 18, 2017 @10:46AM (#14580853)
> BCHS (pronounced /biːtʃəz/, beaches) is for real development. It's a hipster-free, open source software stack for web applications.

> Why C? fewer hipsters : hipsters dislike memory managment

Is this meant to be ironic? Spinning up web apps with C in 2017 seems like a supremely hipster thing to do.

Re:BCHS stack – BSD, C, httpd, SQLite by strictfp on Sunday June 18, 2017 @01:47PM (#14581868)
The hipster culture is the culture of counter-culture. A hipster aware of their hipsterness would therefore violate their internal value system. So yes, it's hipster thing. But the hipster is not aware. Or is at least pretending not to be aware.
Re:BCHS stack – BSD, C, httpd, SQLite by e12e on Sunday June 18, 2017 @04:32PM (#14582752)
Re:BCHS stack – BSD, C, httpd, SQLite by ziikutv on Sunday June 18, 2017 @12:18PM (#14581340)
Yeap. Additionally, having a name without vowels and pronouncing it as if it had vowels is also pretty hipster, mustachioed as they say :)
Re:BCHS stack – BSD, C, httpd, SQLite by tacostakohashi on Sunday June 18, 2017 @10:50AM (#14580876)
Pretty much. I spent a year of my life maintaining a web app written in C circa 2002. Even then, it was a supreme pain as compared to Perl or PHP.
Re:BCHS stack – BSD, C, httpd, SQLite by setq on Sunday June 18, 2017 @11:30AM (#14581056)
Back in 1999 I managed a similar thing written in C with flat file storage. The whole tool chain chucked out a static binary and a directory full of templates and you just cp'ed it to the target and restarted the process.

When I look back I've got to be honest and say that it was actually a thing of beauty. The heavy lifting required for some core functions was quite bad but the whole thing pales in comparison to some of the enterprise and microservice based c# behemoths I have looked after since which require literally hours of head scratching to deliver a simple change.

I'd rather spend that time writing C than scratching my head. I'd have a lot more hair now.

Re:BCHS stack – BSD, C, httpd, SQLite by liveoneggs on Sunday June 18, 2017 @11:53AM (#14581173)
you can duplicate that experience with go web dev today! :)
Re:BCHS stack – BSD, C, httpd, SQLite by setq on Sunday June 18, 2017 @12:36PM (#14581441)
I have actually tried that and you're right. The whole experience made me consider going back to electrical engineering when I realised that the status quo hadn't improved in 20 years :)
Re:BCHS stack – BSD, C, httpd, SQLite by walterbell on Sunday June 18, 2017 @02:35PM (#14582097)
Have you looked at Lua+C and LuaJIT+nginx (CloudFlare, OpenResty)? Work is underway to compile a subset of Perl6 to LuaJIT+nginx.
Re:BCHS stack – BSD, C, httpd, SQLite by setq on Sunday June 18, 2017 @04:16PM (#14582662)
I can't get over the 1 based indexes in Lua, unless that has changed in recent years.
Re:BCHS stack – BSD, C, httpd, SQLite by walterbell on Sunday June 18, 2017 @04:39PM (#14582797)
Still there :) The trade-off is rapid development (interpreted, GC), fast execution (JIT faster than Javascript) and easy interfacing to C libraries.
Re:BCHS stack – BSD, C, httpd, SQLite by setq on Sunday June 18, 2017 @05:28PM (#14583054)
I shall have a try next week and see if I can cope with it :)
Re:BCHS stack – BSD, C, httpd, SQLite by ams6110 on Sunday June 18, 2017 @11:00AM (#14580917)
At about that time I knew a guy who insisted that the best web dev platform was AOLServer with application code written in C.
Re:BCHS stack – BSD, C, httpd, SQLite by pjmlp on Sunday June 18, 2017 @12:22PM (#14581364)
I worked on a startup that had an AOLServer kind of clone, it was wonderful.

However in our case only the DB drivers and Apache TCL module were written in C, everything else was pure TCL.

Re:BCHS stack – BSD, C, httpd, SQLite by liveoneggs on Sunday June 18, 2017 @11:52AM (#14581164)
AOLServer + TCL was pretty slick
Re:BCHS stack – BSD, C, httpd, SQLite by jrapdx3 on Sunday June 18, 2017 @12:29PM (#14581404)
Yes indeed, oldies but goodies. This combo is still available and maintained, well, at least in the form of naviserver. Tcl of course has continued in active development and as useful as ever.

https://bitbucket.org/naviserver/naviserver/

http://tcl.wiki/

Re:BCHS stack – BSD, C, httpd, SQLite by tvaughan on Sunday June 18, 2017 @07:44PM (#14583645)
Re:BCHS stack – BSD, C, httpd, SQLite by mhh__ on Sunday June 18, 2017 @11:52AM (#14581169)
Using C is just plain dumb these days. I would have thought that avoiding memory safety bugs is worth the price of some "hipsters".

Edit: it would appear to be ironic

Re:BCHS stack – BSD, C, httpd, SQLite by RUTHLESS_RUFUS on Sunday June 18, 2017 @12:56PM (#14581567)
Found the guy for whom C was too intimidating!
Re:BCHS stack – BSD, C, httpd, SQLite by mhh__ on Sunday June 18, 2017 @05:19PM (#14583016)
Well I can program in assembler if that pleases you, oh blessed dmr prophet. C is simply not worth using unless you have to due to existing constraints etc.
Re:BCHS stack – BSD, C, httpd, SQLite by nothrabannosir on Sunday June 18, 2017 @10:50AM (#14580878)
Not to mention hiding acronym jokes behind IPA.
Re:BCHS stack – BSD, C, httpd, SQLite by justinjlynn on Sunday June 18, 2017 @12:21PM (#14581357)
They hated hipsters before it was cool.
Re:BCHS stack – BSD, C, httpd, SQLite by walshemj on Sunday June 18, 2017 @01:24PM (#14581733)
A Real hipster programmer would use Fortran (and use arithmetic if statements) or PL1/G if they are lazy and want to handle text better.
Re:BCHS stack – BSD, C, httpd, SQLite by justbaker on Sunday June 18, 2017 @02:18PM (#14582015)
Trendster vs hipster is a thing now. I think I don't keep up with the trends anymore. But yeah next step we use assembly.
Re:BCHS stack – BSD, C, httpd, SQLite by Teknoman117 on Sunday June 18, 2017 @04:20PM (#14582686)
WebAssembly is a thing...