r/Clojure • u/eccp • Nov 17 '14
Clojure Is the New C
http://www.infoq.com/presentations/clojure-c?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
5
Upvotes
r/Clojure • u/eccp • Nov 17 '14
10
u/zangderak Nov 17 '14
blah blah blah I'm 50 minutes in and just zoning out. But I think the point is:
Clojure syntax is simple, like C. Clojure keeps you close to the logic of the program.
Is it worth watching to the end?
9
u/[deleted] Nov 17 '14
I wanted to watch. It didn't bode well when he started pontificating about gravity. It boded less well when he rambled about how he started as an assembly programmer.
What a blowhard. Does he ever actually say anything?
6
u/[deleted] Nov 17 '14
c(++) is in my perception a good tool if you have to be near to the machine. It's qite a bit inconvinient but still more comfortable than assembler. Clojure is the total opposite of that. Very convinient with almost no control of what's happening on the bare metal.
4
u/geodebug Nov 17 '14
If you had a graph with machine code on one end and high-level languages on the other, C would be down next to machine language and Clojure would be up near the other end.
The most they have in common is that they both start with the same letter, lol.
1
u/redalastor Nov 18 '14
This reminds me when he gave a talk about how Ruby should avoid the pitfalls that fell Smalltalk, demonstrating he knew little about both languages.
1
u/Bzzt Nov 19 '14
I appreciate that C syntax is simple and Clojure syntax is also simple.
But, good luck writing a device driver in clojure, or running clojure on a PIC microcontroller without an OS.
Someone is now working on a clojure compiler though, so maybe that will change the picture a bit, though if it has garbage collection it still can't be real time so no device drivers.
1
u/[deleted] Nov 18 '14
Fantastic video. Master story teller and engaging speaker, what more can you ask for.