7 ms·
Poll: Language Use
I'm curious what languages you work in on a daily basis. I do not want this to turn into some kind of silly language flamewar, so please, none of that. Feel free to select however many you actually use. If you pick Other, please leave a comment.
- RiderOfGiraffes 17y agoOther: ARM assembler, (a variant of) BASIC, GAWK, Matlab.
- cperciva 17y agoOther: POSIX shell.
- nailer 17y agoAlso newer shells would be worth adding too: bash and zsh.
- nagrom 17y agoI currently teach a basic course in shell scripting at a university. I'm amazed that bash wasn't included! I don't know whether you'd include Make in there too, but I would - the two together still form the basis for the majority of software deployment in Linux, I reckon. Certainly all our research software uses these two technologies (still!)
- cperciva 17y agoWhy would you want to mention bash in a course on shell scripting? All you'd do is produce more people writing gratuitously incompatible scripts. I use bash as an interactive shell, but for scripts I can't imagine why anyone would want to use bash unless they simply didn't realize how non-standard it is.
- d0mine 17y agoIt is the first time I hear that bash is non-standard. For specialized tasks such as simple pipes, invoking a sequence of commands (for a more involved tasks I prefer Python) what else would you use other than your interactive shell?
- cperciva 17y agowhat else would you use other than your interactive shell? A POSIX shell. There is actually a --posix option to bash which makes it more closely approximate POSIX-standard behaviour, but last time I checked it wasn't perfect.
- silentbicycle 17y agoBash isn't a standard shell. The Bourne shell (e.g. /bin/sh) is standard. There are Unices where bash isn't available (by default, or at all), and there's no reason to hardcode bash as the interpreter for a shell script unless you're using bash-specific extensions. (If you have to ask, you probably aren't.) This is what's called a Linux-ism: "The Linux distro I use does it this way, so it must be the standard, right?" It's very annoying when porting things to BSD or elsewhere.
- nailer 17y agoIt depends whether you count standards as those decided by a committee, or those that people actually use. Sure, the various BSDs are quite active (and all have bash available through modern package management systems), but AIX, Solaris and HPUX are on the decline and have been for 10 years now.
- silentbicycle 17y agoDoes it make sense to require bash as a dependency for a program that ignorantly hardcoded it in a two-line shell script in its test suite? (I mean, I'd just patch it in the port, but it's annoying in the same way as people sending e-mail wrapped inside a Word file for no reason.)
- cpr 17y agoOther: Objective-C (how could you forget? ;-)
- rickharrison 17y agosame here. Use this every day.
- Zev 17y agoYup, same here. Although, I'll occasionally find myself spending days at a time using C within a project (IOKit (accessing, not writing drivers for), CoreFoundation and some other lower level functions such as kqueue).
- tlrobinson 17y agoOther: Objective-J
- deleted 17y ago[deleted]
- Ivatar 17y agoOther: Assembly (X86 and POWER mainly). Factor for some interactive exploratory tasks.
- nmcfarl 17y agoLooks to me like Javascript is going to take this as nearly everyone who codes it codes in something else as well. Just not the same something else...
- Xichekolas 17y agoI didn't post it to find a "winner" so much as to see what the trend was like. I expect javascript/ruby/python to be very well represented because they are common in web apps, and a lot of people here are working on web apps.
- jpd 17y agoOther: PL/X, System Z Assembly
- wglb 17y agoInteresting--what is PL/X used for these days? I worked briefly with what might be similar PL/5 which was a derivative of XPL for writing systems programs for the Sigma 5 series of computers.
- jpd 17y agoAs far as I know, the only place PL/X is still used is inside z/OS, though I could be wrong.
- wglb 17y agoIs it an assembly-language replacement, like a high-level assembler?
- jpd 17y agoNot really, I suppose I'd describe it as a low-level language like C, combined with syntax which would be familiar to anyone who has used REXX. You can do things like splits in python to refer to a subset of an array, and it has a single loop macro, which is similar to ALGOL68's 'for'. Also, it has dummy sections, which are kind of like structs, except they can be associated with a specific pointer. So, rather than saying 'Employee->name' to refer to the structs name field, you just say name, and it knows which pointer it is based off of. You can tie many of these pointers together and it will follow them automatically, which is very useful, although it can get confusing. That said, it does have high-level-assembler features, like being able to directly declare and modify registers. Pl/X also features a way to directly insert assembly code using a GENERATE macro, in which you have to specifically declare which registers/variables are either modified or referenced. All-in-all, it's not a bad language; I prefer it to C.
- cschep 17y agoI work in vb.net everyday at work. Maybe my brain is melting, but I don't hate it nearly as much as I used to. My previous .net experience was c#, so I think I just had to retrain some habits out of my fingers. Also, voted for python. Loving it for all my randoming glueing and bit moving needs on my windows machine at work.
- cpher 17y agoWhen .NET was first introduced, my natural language choice was VB.NET since I was coming from the classic ASP/VBScript world. Over the past 5-6 years, I've introduced more C# into my projects and now I've migrated mostly to C# + ASP.NET MVC -- in addition to Flex, Ruby/Rails. VB is still a useful language since everything compiles to the CLR anyway, but now that C# 3.5 is bringing more "dynamic" features it's more attractive to me. Plus, the syntax is so close to javascript and actionscript that it's a little easier to switch back-and-forth within the same project.But VB has served me well over the years.
- cschep 17y agoYeah I definitely think there is value in a unifying algol-like syntax. Going between JS and VB.NET is easy on the brain.
- viraptor 17y agoPicked py, pl, c, but also other: http://ooc-lang.org/ http://ooc-lang.org/ (it's pretty interesting lately :) )
- utku_karatas2 17y agoOther: Delphi.
- barrkel 17y agoDelphi and C for me - the Delphi compiler.
- utku_karatas2 17y agoKnowing who you are, god speed you on that :)
- zackham 17y agoOther: Actionscript 3
- mulander 17y agoOther: Oracle PL/SQL on a daily basis at work.
- MikeMacMan 17y agoOther: Groovy
- deleted 17y ago[deleted]
- tednaleid 17y ago+1
- tel 17y agoOther: R
- owinebarger 17y agoVBA when employed to do financial modeling.
- deleted 17y ago[deleted]
- deleted 17y ago[deleted]
- itistoday 17y agoOther: newLISP http://www.newlisp.com http://www.newlisp.com
- rman666 17y ago+1 for newLISP :-) Current version rocks!
- deleted 17y ago[deleted]
- mcherm 17y agoOther: Mumps. (Yes, really.)
- kogir 17y agoT-SQL almost daily at work.
- jorgeortiz85 17y agoOther: Scala
- DanielBMarkham 17y agoOther - F# I voted for Ocaml, which is a close cousin, but with all the libraries available, F# is really another kind of thing entirely.
- nathanwdavis 17y agoCurious, what type things are you working on with F#? Are you in the finance space?
- DanielBMarkham 17y agoI have a startup in the real-time web space -- web applications, notifications, rich-client, and real-time content analysis.
- gvb 17y agoOther: Ada
- AndrewDucker 17y agoOther: COBOL.
- tptacek 17y agoMore C than I expected (go us!). Would be interested in what the specific projects were using it.
- joe_bleau 17y agoEmbedded and real time projects. Mostly industrial automation, instrumentation, communications stuff. Surprised no one has listed Verilog or VHDL.
- tptacek 17y agoAre you doing Verilog? What are you building? If there was one thing in the universe I want to learn right now... HDL would be one of them.
- joe_bleau 17y agoNot yet--though I'd like to dream up a project/excuse at work to justify tooling up for it. (I've messed around with some basic FPGA and CPLD kits at home, but nothing in depth.) The gates per dollar ratio on even the low-end FPGAs is getting to be really exciting.
- viraptor 17y agoIn my case, network servers that need small-packet/high-throughput and extremely low latency (telephony stuff). Microprocessors too (AVR mostly) for various stuff.
- scott_s 17y agoI'm writing a compiler for OpenMP style parallelism on the Cell. My compiler produces C code.
- andrewcooke 17y agoin my case, replacing the critical loop in matlab code with something faster (first c on the cpu, then c/opencl on the gpu).
- aidenn0 17y ago
- docmach 17y agoOther: Tcl
- wheels 17y agoI wonder if a more specific question, like, which language do you use the most on a weekly basis might produce more meaningful results. I get the sense that cross-language applications are becoming ever-more common. We have code in C++, Java, Ruby, Perl, Python, Javascript and PHP, but there's a high concentration around the first three.
- cperciva 17y agoThe table at 20:55 UTC, sorted by points: Javascript 147 points Python 116 points Ruby 81 points C 72 points Java 71 points PHP 64 points C++ 44 points C# 37 points Perl 27 points Clojure 26 points Haskell 18 points Lisp 18 points Scheme 16 points Erlang 11 points Lua 7 points Ocaml 7 points Coldfusion 2 points Go 2 points Arc 1 point Fortran 1 point Smalltalk 1 point D 0 points Other 43 points Mostly as I expected, but a couple of things surprise me: I thought perl would be closer to Python and PHP; I didn't think C# would get nearly so many votes; and I would never have guessed that Clojure would make the top 10. I'm relieved to see that C narrowly beat Java for 4th place, but I'm a bit disappointed by the performance of Scheme, Erlang, and Arc -- even though I don't use them myself, I figured that more people here would.
- aaronblohowiak 17y agoSometimes, our community makes us forget how marginal we are.
- rbanffy 17y agoThe Secret Weapon User Group never was a very large one. It's a natural consequence.
- staunch 17y agoJavascript 372 (17.72%) Python 315 (15.01%) Ruby 221 (10.53%) C 191 (9.10%) Java 182 (8.67%) PHP 167 (7.96%) C++ 124 (5.91%) Other 121 (5.76%) C# 82 (3.91%) Perl 70 (3.33%) Clojure 53 (2.53%) Lisp 42 (2.00%) Haskell 37 (1.76%) Scheme 34 (1.62%) Erlang 31 (1.48%) Lua 16 (0.76%) Ocaml 11 (0.52%) Go 7 (0.33%) Arc 7 (0.33%) Fortran 5 (0.24%) Smalltalk 5 (0.24%) Coldfusion 4 (0.19%) D 2 (0.10%) 2099 points over 23 options
- rsaarelm 17y agoOther: Standard ML
- joe_bleau 17y agoOther: assembly (M68k, ARM).
- cpher 17y agoOther: VB.NET (yes, really), Actionscript
- Locke1689 17y agoA lot of my projects end up requiring C for speed or hardware access, but I prefer to prototype in Python. It basically ends up being that I spend less time in Python but get about 20 times done when I do. :)
- mulander 17y agoReferring to prototyping. I mostly do them with Emacs Lisp. This may sound strange at first, but this allows me to focus on exploring the problem and takes away the pain of setting up an interface to test stuff when they are still fluid. The funniest part is that once I had to help with a tedious documentation merging task on a tight schedule. Due to extremely limited time constraints I made a half automatic elisp solution that became the standard tool to perform the task. It's still used and by people never exposed to Emacs before.
- Luyt 17y agoIt's funny how prototype code can suddenly become production code. But maybe that is an emergent property caused by the power of the chosen language.
- horia314 17y agoOther: Tcl. Good language, somewhat underrated.
- tptacek 17y agoRuby is Japanese Tcl. You should switch.
- DougBTX 17y agoOther: boo
- mitko 17y agoMATLAB ? It is extremely useful for machine learning hacking.
- ique 17y agoNot to mention matrix calculations, which I actually do on a daily basis (for solving PDEs).
- nearestneighbor 17y agoDo you prefer MATLAB to Python + numpy + libsvm (for ML) ?
- Diakronik 17y agoNo way. Python/numpy/scipy FTW. (not an SVM guy)
- bugs 17y agoAlso for engineering works like Vibrations and Control Systems
- BrentRitterbeck 17y agoI'll second this. I have started to use MATLAB a lot as it is highly emphasized in my financial engineering program.
- d0mine 17y agoI'm curious who works in Go on a daily basis at current stage of its development? For what kind of projects it is preferable to any other language at the moment?
- dpcan 17y agoPascal/Delphi Actionscript
- philh 17y agoNot a daily basis, but most of my coding lately is in C++ for game design society at uni. In theory I also do php, as webmaster, but I tend to put that to one side more than I ought.
- seunosewa 17y agoScala
- mey 17y agoFortran and D, but no Cobol or Ada...
- richcollins 17y agoIo http://www.iolanguage.com/ http://www.iolanguage.com/
- huhtenberg 17y agoWoa, really ?! Please do tell more.
- richcollins 17y agohttp://shop.stylous.com/#/about/team http://shop.stylous.com/#/about/team ;-)
- huhtenberg 17y agoHahaha .. so you've got the expert :)
- bmj 17y agoTo the other people who do ColdFusion stuff--are you doing new development, or maintaining legacy systems? I do a mix of both, though I don't spend all day, every day doing CF.
- prawn 17y agoBoth also. I find it quick and easy to develop with.
- csmeder 17y agoNo Forth?
- Dove 17y agoOther: Ada
- zheaton 17y agoOther: MATLAB, IDL
- clutchski 17y agoOther: sql
- timwiseman 17y agoI do a large portion of my work in pure T-sql right now. Though I also use Python near daily and C# occasionally.
- gtt 17y agoOther: Refal.
- ikitat 17y agoOther PL/SQL
- nostrademons 17y agoNo Sawzall or Wasabi? ;-)
- drallison 17y agobash
- rabidsnail 17y agoOther: Haxe
- fun2have 17y agoGroovy?
- djm 17y agoIt's interesting that scheme use is not far off being equal to Lisp use. In my case I learned lisp with scheme then decided to stick with it after I looked at CL and realised it would give me a big headeache. I wonder what prompts others to stick with scheme.
- antimora 17y agoOther: Oracle PL/SQL
- dreeves 17y agoOther: Mathematica
- Mathnerd314 17y agoOther: Squirrel