Page 1 of 2 [ 27 posts ]  Go to page 1, 2  Next

Tomatoes
Toucan
Toucan

User avatar

Joined: 25 Jun 2012
Gender: Male
Posts: 264

12 Aug 2012, 6:21 pm

Ancalagon wrote:
Whether you need a fast language depends on what you're doing with it. If what you're doing is simple enough, you could spend hours porting a program from one language to another and end up making something that takes 30 milliseconds take only 3 milliseconds.


That depend of how you define simple. If it's just a couple of lines of code calling some libraries, the libraries being written in C and compiled, the python interpreter will spend most time calling the c functions, and rewriting the code in c or c++ is using the libraries natively, will only take the time for the linker to load the symbols if they are shared. And in python it will take mostly the same time, neglecting the interpreter overhead. But if the whole functionality is reimplemented, it will probably be statically linked and be probably faster than ten times faster, because of cache.



MyFutureSelfnMe
Veteran
Veteran

User avatar

Joined: 26 Feb 2010
Age: 44
Gender: Male
Posts: 1,385

12 Aug 2012, 8:38 pm

I'm not saying everyone needs a fast language, but porting Fortran to Python in order to optimize it probably won't be too successful :)

It's occurred to me that one of the more powerful projects I could do from a fiscal perspective would be to write a blazingly fast Python interpreter without a GIL.



Shatbat
Veteran
Veteran

User avatar

Joined: 19 Feb 2012
Age: 31
Gender: Male
Posts: 5,791
Location: Where two great rivers meet

12 Aug 2012, 9:56 pm

I'm learning how to use Java. Also know bits of Matlab too. I'm fairly new to this though.


_________________
To build may have to be the slow and laborious task of years. To destroy can be the thoughtless act of a single day. - Winston Churchill


mindmapper
Blue Jay
Blue Jay

User avatar

Joined: 16 Feb 2012
Age: 37
Gender: Male
Posts: 86
Location: Netherlands

13 Aug 2012, 8:32 am

I usually program with Java, C++, Ruby, Python, C# or PHP. I've also been programming in Haskell and Basic many years ago. I can also work with most modern databases.

I focus on web application development, and I know most of the usual stuff there too, even though they're not really programming languages: HTML 4.01/5, XHTML, XML, CSS 2.1/3, JavaScript. Also Dart if it's worth mentioning ;)



idratherbeatree
Deinonychus
Deinonychus

User avatar

Joined: 6 Jul 2012
Gender: Female
Posts: 302

13 Aug 2012, 1:12 pm

C++



MyFutureSelfnMe
Veteran
Veteran

User avatar

Joined: 26 Feb 2010
Age: 44
Gender: Male
Posts: 1,385

13 Aug 2012, 2:42 pm

donryanocero wrote:
python, fortran, c++

We use fortran at school, apparently there is a ton of legacy code around and its been the target of the largest optimization project ever. I still haven't noticed much of a difference in speed between even python and fortran. Python is ridiculously easy, so I mostly use python.


Hey - try this: http://speed.pypy.org/



compiledkernel
Sea Gull
Sea Gull

User avatar

Joined: 10 Jun 2012
Age: 51
Gender: Male
Posts: 224

13 Aug 2012, 3:06 pm

Perl, Python, and the rare rare rare Pascal.


_________________
An Old NetSec Engineer. Diag 11/29.
A1: AS 299.80 A2: SPD features 301.20
GAF: 50 - 60 range.
PMs are fine, but my answers are probably going to be weird.


amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

15 Aug 2012, 12:43 pm

C programming, GTK2.xx(GUI programming), Awk, NASM(netwide assembler). I tinker with python, Sed, JS. I've tried a bunch of languages.



noname_ever
Veteran
Veteran

User avatar

Joined: 25 Dec 2011
Age: 48
Gender: Male
Posts: 500
Location: Indiana

15 Aug 2012, 9:07 pm

Currently, I use C, C#, SQL, vbscript, XML, and reading various micro-controller assembly languages via the C compiler output listings. Occasionally I use Java. Most of my undergrad used Ada. I've used many other languages over the years.



Roninninja
Pileated woodpecker
Pileated woodpecker

User avatar

Joined: 15 Apr 2012
Age: 37
Gender: Male
Posts: 191

16 Aug 2012, 12:02 am

Java, but I have been messing around with scripting languages like python just for kicks!



CokaCola
Veteran
Veteran

User avatar

Joined: 4 Jul 2011
Age: 29
Gender: Male
Posts: 3,301
Location: NSW, Australia

16 Aug 2012, 3:23 am

Hmm, lets see here..
HTML, CSS, Javascript, PHP, C#, Java, Lua and a little C++...and also SQL if that counts.


_________________
You must sleep now, Uncle Sempi!
-
Trouble finding the WP IRC chatroom on the new site?
You can find it here: http://webchat.freenode.net/?channels=wrongplanet


jdbob
Toucan
Toucan

User avatar

Joined: 4 Jan 2006
Age: 67
Gender: Male
Posts: 262
Location: John Day, Oregon

16 Aug 2012, 11:07 pm

There are some windows only programs that use Delphi. For portable programs (which sometimes started out as Delphi) and for embedded processors I use C. For web pages Javascript (my least favorite). Used to do quite a bit of PIC assembly language but fortunately those days are gone.