News for hackers. Stuff that matters.
Re:What language(s) do you use for your client / server arch... by cperciva on Monday October 08, 2007 @06:39PM (#65008)
For tarsnap (online encrypted backups), I'm using C99 (no, not C++, not C#, not D -- just plain C) and am aiming for POSIX compatibility on the client except in a few places where OS features make this impossible (e.g., reading file flags). On the server-side I'm using C99 and POSIX + BSD extensions (the d_type field in struct dirent is the first example which comes to mind).

Depending on your application, you may find that other languages are more suitable -- on the server-side, for example, you might want a language which does more to protect you from foot-shooting -- but I don't think you'll be able to find anything more portable than C.

Re:What language(s) do you use for your client / server arch... by dhouston on Monday October 08, 2007 @09:56PM (#65069)
why not something higher level (e.g. python)? just curious
Re:What language(s) do you use for your client / server arch... by cperciva on Monday October 08, 2007 @11:19PM (#65107)
Portability (python isn't nearly as portable as C), performance (there are some parts of my code which are very performance-critical), security (the most likely avenue of attack is via side channels; C allows me to make sure that the compiler isn't being clever in stupid ways), and familiarity (I've been using C for the past decade).