Hacker Newsnew | past | comments | ask | show | jobs | submit | abedra's commentslogin

Using Lua is certainly easier. The C version will almost always be faster, and yes, performance in this scenario probably wouldn't be an issue between the two. The other reason for writing a module in C though is complete control over the execution and an easier time troubleshooting problems. Adding another language layer can present issues when things explode.


The intent was to demonstrate how to write a module in C. This can be solved with Lua as well.


I was hoping for a performance related answer, but you are right. I might walk through this and see if one way is faster than the other. Thanks!


This was actually an attack on the Israeli infrastructure. The registrar was hacked. All of the domains registered there (cnn.co.il, microsoft.co.il, skype.co.il, etc) were also returning the same response.


Clojure is about simplicity. It helps you get to the point. It helps you eliminate unnecessary state, and when necessary, helps you manage the state that is.


"eliminate unnecesary state"

What is it you said that I didn't?


I'm working on Programming Clojure 2nd edition right now as well. It should be in beta in July.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: