geekhack

geekhack Community => Other Geeky Stuff => Topic started by: iLLucionist on Sat, 16 April 2016, 06:19:07

Title: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 06:19:07
Are there any programmers on geekhack?

What language(s) do you use? Why?

Do you use an IDE or do you hate IDE's?

What languages do you hate with passion?



I am heavy on python, thinking of attending PyCon this year. Use vim and spacemacs.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sat, 16 April 2016, 08:52:54
I'd think there were a lot of programmers on GeekHack. :)

I'm C# for the money. I like it though.  I also do Julia and Python for Data Science, and dabble in many for utility reasons (PHP, Ruby, Javascript, C++).

I use whatever works.  For day to day, I use Visual Studio, but I also use Sublime Text a lot, and Juno/LightTable.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 08:58:43
I'd think there were a lot of programmers on GeekHack. :)

I'm C# for the money. I like it though.  I also do Julia and Python for Data Science, and dabble in many for utility reasons (PHP, Ruby, Javascript, C++).

I use whatever works.  For day to day, I use Visual Studio, but I also use Sublime Text a lot, and Juno/LightTable.

C# was a huge step forward for win dev IMHO. I came from VB 6.0 and C# combined with VS GUI builder felt like a revival of VB.

Do you like Visual Studio nowadays? Last time I have seriously developed in it was VB 6.0. I played with C# but never seriously code with it.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ideus on Sat, 16 April 2016, 09:18:36
I am not sure if I might be considered a programmer; but, being an mechanical engineer I spent many years working in the automotive industry designing and running experiments, lastly, I teach DoE using R with RStudio, also I teach some Geostatistics and financial risk analysis with the same platform, I make basic scripts to solve the examples I use and make them available for my students with Knitr, Latex and Markdown. Hope this is not out of topic  :p
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 09:22:00
I am not sure if I might be considered a programmer; but, being an mechanical engineer I spent many years working in the automotive industry designing and running experiments, lastly, I teach DoE using R with RStudio, also I teach some Geostatistics and financial risk analysis with the same platform, I make basic scripts to solve the examples I use and make them available for my students with Knitr, Latex and Markdown. Hope this is not out of topic  :p

Not out of topic at all! I use R and RStudio as well for statistical data analysis. But for quick and dirty I still prefer SPSS over R. Knitr / Latex are really awesome.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Findecanor on Sat, 16 April 2016, 11:25:36
I like IDE's but I tend to shut real-time features off.

It is often in IDE's that editor features in real time pop up and grab the keyboard input for a part of the keyboard. For instance, if I type a symbol and then press cursor-down, then I want to type that symbol and go down a line, not choose another symbol from a list of symbols that sort-of match the symbol I just typed.
There is an old user-interface principle that says that users should not have to fight the interface.
Maybe that interaction worked for the programmer who wrote it, but we are different people and I have my way of thinking, reasoning about code, writing and navigating source code, and he has his.
Popup windows that I have to close are the kind of things you would find on warez and pr0n-sites on the web -- they do not belong in a text editor where I am supposed to do work.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: cryptokey on Sat, 16 April 2016, 11:30:18
C, Java, and Python.  I just use vim with ftplugins as needed.
I tend to use IDLE with Python though.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sat, 16 April 2016, 11:38:08
I like IDE's but I tend to shut real-time features off.

It is often in IDE's that editor features in real time pop up and grab the keyboard input for a part of the keyboard. For instance, if I type a symbol and then press cursor-down, then I want to type that symbol and go down a line, not choose another symbol from a list of symbols that sort-of match the symbol I just typed.
There is an old user-interface principle that says that users should not have to fight the interface.
Maybe that interaction worked for the programmer who wrote it, but we are different people and I have my way of thinking, reasoning about code, writing and navigating source code, and he has his.
Popup windows that I have to close are the kind of things you would find on warez and pr0n-sites on the web -- they do not belong in a text editor where I am supposed to do work.

You mean intellisense?  That's been one of the largest boons/advancements in programming IMO.  You don't have to remember all of these obscure overloads and such.  And usually, in the implementations that I've seen, you don't have to do anything.  You just keep typing, and as long as you're typing, intellisense doesn't even come into play.

C# was a huge step forward for win dev IMHO. I came from VB 6.0 and C# combined with VS GUI builder felt like a revival of VB.

Do you like Visual Studio nowadays? Last time I have seriously developed in it was VB 6.0. I played with C# but never seriously code with it.

I like visual studio- it's pretty much the only thing I actually develop in.  I might look at code in other editors, but when I am starting a project in .NET, it's just more productive to break out visual studio.  Though I don't use the visual editor.  Too much of doing things the way that they want to, and too much frustration aligning things.  I just use the code editor to make the interfaces.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: funderburker on Sat, 16 April 2016, 12:54:10
Don't have a lot of experience with a lot of languages but have played around with some. Now my primary language is Python but been learning Rails for other upcoming work projects. C/C++ for keyboard/Arduino related projects.

For Python I use PyCharm. A lovely IDE with a bunch of great features. But for my own projects/learning I would go for SublimeText with some plugins. For small changes/config files it's Vim. I would love to find "one-for-all" solution but I don't have the time to learn Vim to that level yet.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 12:57:53
I like IDE's but I tend to shut real-time features off.

It is often in IDE's that editor features in real time pop up and grab the keyboard input for a part of the keyboard. For instance, if I type a symbol and then press cursor-down, then I want to type that symbol and go down a line, not choose another symbol from a list of symbols that sort-of match the symbol I just typed.
There is an old user-interface principle that says that users should not have to fight the interface.
Maybe that interaction worked for the programmer who wrote it, but we are different people and I have my way of thinking, reasoning about code, writing and navigating source code, and he has his.
Popup windows that I have to close are the kind of things you would find on warez and pr0n-sites on the web -- they do not belong in a text editor where I am supposed to do work.

I hate IDEs personally. I have used IntelliJ, NetBeans, Eclipse, Visual Studio, Delphi, and what not. Never like one of them. VB 6.0 was reasonably OK.

So I switched to vim (and more recently spacemacs try-out) so that I can make my "IDE" do what I want EXACTLY.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 13:01:44
Don't have a lot of experience with a lot of languages but have played around with some. Now my primary language is Python but been learning Rails for other upcoming work projects. C/C++ for keyboard/Arduino related projects.

For Python I use PyCharm. A lovely IDE with a bunch of great features. But for my own projects/learning I would go for SublimeText with some plugins. For small changes/config files it's Vim. I would love to find "one-for-all" solution but I don't have the time to learn Vim to that level yet.

There is a great book for vim: "learning the vim and vi editors" (O'Reilly book):

http://shop.oreilly.com/product/9780596529833.do (http://shop.oreilly.com/product/9780596529833.do)

And there's only a few plugins you need for python development:
CtrlP for fuzzy finding files
bufexplorer To change buffers quickly (not windows or tabs)
python-mode Python highlighting, execution, repl, hinting, etc.
jedi-vim for autocompletion (if you want that)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 13:02:39
C, Java, and Python.  I just use vim with ftplugins as needed.
I tend to use IDLE with Python though.

You like Java? Is it good (and fast) nowadays? Last time I used it was in 2005 and it was horribly slow.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: funderburker on Sat, 16 April 2016, 13:06:35
Don't have a lot of experience with a lot of languages but have played around with some. Now my primary language is Python but been learning Rails for other upcoming work projects. C/C++ for keyboard/Arduino related projects.

For Python I use PyCharm. A lovely IDE with a bunch of great features. But for my own projects/learning I would go for SublimeText with some plugins. For small changes/config files it's Vim. I would love to find "one-for-all" solution but I don't have the time to learn Vim to that level yet.

There is a great book for vim: "learning the vim and vi editors" (O'Reilly book):

http://shop.oreilly.com/product/9780596529833.do (http://shop.oreilly.com/product/9780596529833.do)

And there's only a few plugins you need for python development:
CtrlP for fuzzy finding files
bufexplorer To change buffers quickly (not windows or tabs)
python-mode Python highlighting, execution, repl, hinting, etc.
jedi-vim for autocompletion (if you want that)

Thank you. Will have to try it out. I could go for Vim with my own Python projects but I'll stick to PyCharm for work. They bought me the license and all recently so it wouldn't be cool for my company to "waste" the license. :D
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 13:08:01
Don't have a lot of experience with a lot of languages but have played around with some. Now my primary language is Python but been learning Rails for other upcoming work projects. C/C++ for keyboard/Arduino related projects.

For Python I use PyCharm. A lovely IDE with a bunch of great features. But for my own projects/learning I would go for SublimeText with some plugins. For small changes/config files it's Vim. I would love to find "one-for-all" solution but I don't have the time to learn Vim to that level yet.

There is a great book for vim: "learning the vim and vi editors" (O'Reilly book):

http://shop.oreilly.com/product/9780596529833.do (http://shop.oreilly.com/product/9780596529833.do)

And there's only a few plugins you need for python development:
CtrlP for fuzzy finding files
bufexplorer To change buffers quickly (not windows or tabs)
python-mode Python highlighting, execution, repl, hinting, etc.
jedi-vim for autocompletion (if you want that)

Thank you. Will have to try it out. I could go for Vim with my own Python projects but I'll stick to PyCharm for work. They bought me the license and all recently so it wouldn't be cool for my company to "waste" the license. :D

PyCharm is pretty decent! I just hate everything even remotely associated with eclipse and java.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Findecanor on Sat, 16 April 2016, 14:25:56
And usually, in the implementations that I've seen, you don't have to do anything.  You just keep typing, and as long as you're typing, intellisense doesn't even come into play.
You did not read my comment properly. I did not want to continue typing. I wanted to go to another line.
Another thing wrong with it is that it covers code that I might want to read.

Intellisense™ was a great idea but the user interface was poorly designed. And then most other IDEs copied Microsoft's user interface.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: henz on Sat, 16 April 2016, 14:46:55
right now, java, c, c++, and some javascript
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Sat, 16 April 2016, 15:02:29
What language(s) do you use? Why?

I use a lot of languages, for different reasons, for different purposes. My go-to language is Clojure, because it is a functional lisp, that is practical to use. I love lisps, and functional programming, so for me, Clojure is a match made in heaven. At work, I use Go, Python, a bit of Ruby, JavaScript and shell, because these were the best at the time, within a given environment, for the task we needed them for. For fun, I dabble in Hy (a lisp that compiles to python AST). I used to do a lot of C, but thankfully, I do not have to anymore.

Do you use an IDE or do you hate IDE's?

I use Emacs, which is, for me, far superior to any IDE. But I do not hate IDEs, they're just not for me.

What languages do you hate with passion?

PHP, because in a previous life, I was trying to integrate it into a webserver, and had to look at its source, and that was a horrendous experience. Years later, at another job, we found serious bugs within some of the standard stuff that ship with PHP, still unfixed to this day. It is a terrible language. Every time you'd want to use PHP, there is always something better, more fit for the job.

I also dislike C a lot, because I wrote far too much in it, but perhaps, not with a passion.

I do hate all OOP languages, apart from SmallTalk. They are all awful. :P
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 15:11:51
And usually, in the implementations that I've seen, you don't have to do anything.  You just keep typing, and as long as you're typing, intellisense doesn't even come into play.
You did not read my comment properly. I did not want to continue typing. I wanted to go to another line.
Another thing wrong with it is that it covers code that I might want to read.

Intellisense™ was a great idea but the user interface was poorly designed. And then most other IDEs copied Microsoft's user interface.

I think in VB 6.0 IntelliSense by MS worked pretty well. But the way Eclipse and Netbeans implemented it is horrible. It just DOES NOT go away when you want it to go away.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 15:19:29
What language(s) do you use? Why?

I use a lot of languages, for different reasons, for different purposes. My go-to language is Clojure, because it is a functional lisp, that is practical to use. I love lisps, and functional programming, so for me, Clojure is a match made in heaven. At work, I use Go, Python, a bit of Ruby, JavaScript and shell, because these were the best at the time, within a given environment, for the task we needed them for. For fun, I dabble in Hy (a lisp that compiles to python AST). I used to do a lot of C, but thankfully, I do not have to anymore.

Lisp is beautiful. Is Clojure accepted now in business? Smart move to put Lisp on top of java runtime.

What do you particularly dislike about C?

Do you use an IDE or do you hate IDE's?

I use Emacs, which is, for me, far superior to any IDE. But I do not hate IDEs, they're just not for me.

I am really into vim, now trying spacemacs because emacs looks like the OS X of editors: feature rich and one cohesive and consistent ecosystem. Probably gonna jump once I get the hang of elisp and the emacs insights / peculiarities.

What languages do you hate with passion?

PHP, because in a previous life, I was trying to integrate it into a webserver, and had to look at its source, and that was a horrendous experience. Years later, at another job, we found serious bugs within some of the standard stuff that ship with PHP, still unfixed to this day. It is a terrible language. Every time you'd want to use PHP, there is always something better, more fit for the job.


I started webdev in perl, then PHP. Compared to perl, PHP is heaven. But compared to anything else, PHP is really weird. It's native for me, I don't have any issues with PHP. I'm used to it up to the point where I don't see the inconsistencies anymore. But I don't like PHP anymore, I moved on to python.

Personally, I believe PHP is going a bit into the C++ sdl / template madness. For instance, you can get iterators in PHP, but you have to write a ton of boilerplate to get it working. So basically, the advantage of having iterators is not worth the hassle to go through in PHP. Most new features in PHP are like that IMHO.

I also dislike C a lot, because I wrote far too much in it, but perhaps, not with a passion.

I do hate all OOP languages, apart from SmallTalk. They are all awful. :P

First, in the time of java and its OOP, I was like "oh wow inheritance, subclassing, finals, statics". Later on I took a more minimalistic approach asking myself "what do I truly need OOP for". Turns out, extremely little.

In python, I avoid classes most of the time by using appropriate modules (a source file that is its own namespace basically). So I do not need ugly function names like graphics_setup() etc. Though I still think that's most of the time better than going full retard with OOP (e.g., ActualGraphicsSetup extends GraphicsSetuper extends AbstractGraphicsSetup extends Setup extends Core extends Utils).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Sat, 16 April 2016, 15:48:41
I use a lot of languages, for different reasons, for different purposes. My go-to language is Clojure, because it is a functional lisp, that is practical to use. I love lisps, and functional programming, so for me, Clojure is a match made in heaven. At work, I use Go, Python, a bit of Ruby, JavaScript and shell, because these were the best at the time, within a given environment, for the task we needed them for. For fun, I dabble in Hy (a lisp that compiles to python AST). I used to do a lot of C, but thankfully, I do not have to anymore.

Lisp is beautiful. Is Clojure accepted now in business? Smart move to put Lisp on top of java runtime.

It has been for a while. :)


What do you particularly dislike about C?

Too limiting. I have to write lots and lots of code to do the simplest of things. While I can reuse a lot of things, that is still code someone has to maintain. Ever tried writing something highly parallel, and async in C? Awful. Locks everywhere, most of the time. There are libraries to make the experience at least bearable, but compared to the likes of Clojure's core.async... nah.

Also, in C, combining many small libraries is a pain in the backside. It is not the norm. Thus, I end up fighting the low-level language AND library authors too. Yuck.

I am really into vim, now trying spacemacs because emacs looks like the OS X of editors: feature rich and one cohesive and consistent ecosystem. Probably gonna jump once I get the hang of elisp and the emacs insights / peculiarities.

Spacemacs is great, I use it too. :)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 16 April 2016, 15:53:41
What do you particularly dislike about C?

Too limiting. I have to write lots and lots of code to do the simplest of things. While I can reuse a lot of things, that is still code someone has to maintain. Ever tried writing something highly parallel, and async in C? Awful. Locks everywhere, most of the time. There are libraries to make the experience at least bearable, but compared to the likes of Clojure's core.async... nah.

Also, in C, combining many small libraries is a pain in the backside. It is not the norm. Thus, I end up fighting the low-level language AND library authors too. Yuck.

I can imagine the struggle. It is a completely different animal, but I have the same issues with R. There are many libraries for R but because mathematicians make / use it and there is no official spec / reference (R IS the implementation AND the spec), libraries are often not compatible. You can have a data.frame but package A wants a matrix and package B wants a data.frame and C wants a list of vectors. WTF. And there is no implicit type conversion or even hinting so you have to do it by trial-and-error. Also, these libraries do not check type assumptions. The functions just except and only THEN you know that "probably you need to convert a data.frame to a matrix" and try again. And if the numbers come out "it is probably ok" but you'll never now for sure. I HATE R. It's funny, because people in my field (social scientist) use it to do data analysis without understanding basic programming facts. So it is very well possible that some people have published papers with completely wrong results due to these issues and not knowing it.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sat, 16 April 2016, 21:39:57
And usually, in the implementations that I've seen, you don't have to do anything.  You just keep typing, and as long as you're typing, intellisense doesn't even come into play.
You did not read my comment properly. I did not want to continue typing. I wanted to go to another line.
Another thing wrong with it is that it covers code that I might want to read.

Intellisense™ was a great idea but the user interface was poorly designed. And then most other IDEs copied Microsoft's user interface.

I can go to another line also.  Not sure what the difference is in our settings, but it doesn't stop me from going to another line either.  It doesn't stop me from doing anything, including seeing other code.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Sat, 16 April 2016, 23:23:30
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Darkshado on Sun, 17 April 2016, 01:05:37
These days, C++ in Visual Studio (2005, 2008 or 2013 depending on the project), and Ruby using Atom.io. I like Ruby so far, and suspect I'll write one or two side projects in it.

I've done my share of Java, some C, Haskell (didn't like), Prolog (interesting for some applications), SQL, JavaScript (with Node.js), in university.

Most "unusual" language I've learned so far? Fortran. Array indexes start at 1, column-major array notation, fixed-form and free-form among other quirks. Will not miss the limitations of fixed-form.


Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Sun, 17 April 2016, 03:43:36
Quote
Are there any programmers on geekhack?

Yes.

Quote
What language(s) do you use? Why?

Delphi, Python and Java, with a little bit of JavaScript.  Also Free Pascal.

Delphi is what our main application at work is written in.  We are migrating to a Java-based solution with a web front end (hence the JavaScript).

I use Python for almost anything I need small scripts for at home and work, and have also developed a few web apps using the web2py framework.

Free Pascal because I wanted something a bite more cross-platform than Delphi.

Quote
Do you use an IDE or do you hate IDE's?

Eclipse (for Java), Brackets (for JavaScript), Delphi (which has its own IDE).  Lazarus for Free Pascal.

Quote
What languages do you hate with passion?

JavaScript - idiotic language.

I've also used probably about a dozen other languages at some stage, mostly now forgotten.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: appleonama on Sun, 17 April 2016, 03:45:35
arm assem :^)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: jaffers on Sun, 17 April 2016, 04:07:48
Assembly, C, C++, python, Tis 100
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 06:54:30
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).

Why more and more javascript? Webdev? Though I am reasonably eloquent with javscript I really do not like it.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 06:55:07
These days, C++ in Visual Studio (2005, 2008 or 2013 depending on the project), and Ruby using Atom.io. I like Ruby so far, and suspect I'll write one or two side projects in it.

I've done my share of Java, some C, Haskell (didn't like), Prolog (interesting for some applications), SQL, JavaScript (with Node.js), in university.

Most "unusual" language I've learned so far? Fortran. Array indexes start at 1, column-major array notation, fixed-form and free-form among other quirks. Will not miss the limitations of fixed-form.

What didn't you like about Haskell?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 06:55:55
Quote
Are there any programmers on geekhack?

Yes.

Quote
What language(s) do you use? Why?

Delphi, Python and Java, with a little bit of JavaScript.  Also Free Pascal.

Delphi is what our main application at work is written in.  We are migrating to a Java-based solution with a web front end (hence the JavaScript).

I use Python for almost anything I need small scripts for at home and work, and have also developed a few web apps using the web2py framework.

Free Pascal because I wanted something a bite more cross-platform than Delphi.

Quote
Do you use an IDE or do you hate IDE's?

Eclipse (for Java), Brackets (for JavaScript), Delphi (which has its own IDE).  Lazarus for Free Pascal.

Quote
What languages do you hate with passion?

JavaScript - idiotic language.

I've also used probably about a dozen other languages at some stage, mostly now forgotten.

Delphi is no more right?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: hkf on Sun, 17 April 2016, 07:15:09
c# during the day in visual studio

whatever goes for open source stuff
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Sun, 17 April 2016, 07:30:06
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).

Why more and more javascript? Webdev? Though I am reasonably eloquent with javscript I really do not like it.
Ysah, moving more and more logic to the client in the form of single-pages apps backed by thin REST APIs.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 07:32:11
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).

Why more and more javascript? Webdev? Though I am reasonably eloquent with javscript I really do not like it.
Ysah, moving more and more logic to the client in the form of single-pages apps backed by thin REST APIs.

I feel for you. I've done a couple of AngularJS 2.0 apps with most front-end logic in javascript. Used REST via restangular. It wasn't bad, but it wasn't particularly great either. Difficult to keep code clean and readable with JS / angular. Difficult to test as well. Yes, there are testrunners and suites. But still.. I don't know... coming from python / ruby, javascript feels years behind.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Sun, 17 April 2016, 07:38:28
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).

Why more and more javascript? Webdev? Though I am reasonably eloquent with javscript I really do not like it.
Ysah, moving more and more logic to the client in the form of single-pages apps backed by thin REST APIs.

I feel for you. I've done a couple of AngularJS 2.0 apps with most front-end logic in javascript. Used REST via restangular. It wasn't bad, but it wasn't particularly great either. Difficult to keep code clean and readable with JS / angular. Difficult to test as well. Yes, there are testrunners and suites. But still.. I don't know... coming from python / ruby, javascript feels years behind.
From what I'm finding, JS just has a lot of bad parts that you need to know to avoid. That's a crappy paradigm but it is what it is on the web. There's an entire layer of languages that compile to the JS base which help, like using ES6 + Babel or Typescript.

At least it has first-class functions, I used to do a lot of C# and I don't know if I can ever go back to writing so much boiler-plate OO stuff.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 09:16:08
Lots of Python, more and more Javascript. Would like to get more comfortable with Lisps this year.

I use a mix of PyCharm with vim bindings and pure vim depending on what I'm doing (PyCharm has poor support for vim macros, specifically).

Why more and more javascript? Webdev? Though I am reasonably eloquent with javscript I really do not like it.
Ysah, moving more and more logic to the client in the form of single-pages apps backed by thin REST APIs.

I feel for you. I've done a couple of AngularJS 2.0 apps with most front-end logic in javascript. Used REST via restangular. It wasn't bad, but it wasn't particularly great either. Difficult to keep code clean and readable with JS / angular. Difficult to test as well. Yes, there are testrunners and suites. But still.. I don't know... coming from python / ruby, javascript feels years behind.
From what I'm finding, JS just has a lot of bad parts that you need to know to avoid. That's a crappy paradigm but it is what it is on the web. There's an entire layer of languages that compile to the JS base which help, like using ES6 + Babel or Typescript.

At least it has first-class functions, I used to do a lot of C# and I don't know if I can ever go back to writing so much boiler-plate OO stuff.

There is also a book on this: "JavaScript: The Good Parts"

http://shop.oreilly.com/product/9780596517748.do (http://shop.oreilly.com/product/9780596517748.do)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sun, 17 April 2016, 13:51:43
Quote
Are there any programmers on geekhack?

Yes.

Quote
What language(s) do you use? Why?

Delphi, Python and Java, with a little bit of JavaScript.  Also Free Pascal.

Delphi is what our main application at work is written in.  We are migrating to a Java-based solution with a web front end (hence the JavaScript).

Are you serious?  That's cool to hear!  I started out in Delphi, but after Borland(at least I think that's what they were at the time) started flubbing their marketing, I started to change- first to contracts that were for Delphi -> .NET, as a bridge into .NET.

I was on a huge project for a huge consulting company.  The old system we'd built for them was in Delphi.  There was some decision between staying with Delphi, or moving to .NET.  Borland was barely responsive.  Microsoft sent out trainers and engineers and partnered to create the architecture, design, and POC.

Guess who won out?  And after seeing Anders jump ship, I figured out which way the wind was blowing.  And then seeing them gut and then completely remove the hobbyist versions, and I realized that they didn't seem to have a vision for the community.

But I'm glad to see Embarcadero  still supporting Delphi.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sun, 17 April 2016, 13:53:39
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 14:52:54
Are you serious?  That's cool to hear!  I started out in Delphi, but after Borland(at least I think that's what they were at the time) started flubbing their marketing, I started to change- first to contracts that were for Delphi -> .NET, as a bridge into .NET.

I was on a huge project for a huge consulting company.  The old system we'd built for them was in Delphi.  There was some decision between staying with Delphi, or moving to .NET.  Borland was barely responsive.  Microsoft sent out trainers and engineers and partnered to create the architecture, design, and POC.

Guess who won out?  And after seeing Anders jump ship, I figured out which way the wind was blowing.  And then seeing them gut and then completely remove the hobbyist versions, and I realized that they didn't seem to have a vision for the community.

But I'm glad to see Embarcadero  still supporting Delphi.

It's a shame what Borland did to Delphi (and TurboPascal and TurboC for that matter). Delphi was where VB 6.0 should've been. All the controls, bells, and whistles, and the IDE. It was great (Delphi 6.0 / 7.0). Very rich environment.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sun, 17 April 2016, 14:53:46
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sun, 17 April 2016, 17:09:48
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

From the last time I looked at it (which was only a little before Embarcadero bought it) it was still the same- just trying to change interface to compete with visual studio and its one window IDE.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Darkshado on Sun, 17 April 2016, 21:34:47
What didn't you like about Haskell?

It's been a while, but I found the syntax weird.

Maybe I'll give it another try some day because of the course we had to study it in. Dreadful. The professor got lost in his explanations and contradicted himself repeatedly. Assignments that felt unsuited for the languages' principles, etc. (He was just as bad explaining Prolog, but I "got" the concepts of it more readily.)

I was also learning some Ruby at the time and felt I learned more functional programming through its lambdas and map capabilities.

@jaffers: TIS-100 (http://www.zachtronics.com/tis-100/)? I wouldn't put it on a resume :P just like Pep/8 (http://computersystemsbook.com/4th-edition/pep8/). Gotta give it a try someday, had fun with Kohctpyktop (http://www.zachtronics.com/kohctpyktop-engineer-of-the-people/) from the same authors.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Sun, 17 April 2016, 21:57:07
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

That.

It was Borland, then Codegear, then Inprise, then Codegear again, then Embarcadero, now someone else.

Borland were great back in the Turbo Pascal days (my first experience with OO programming), Turbo C.  There was a Turbo Delphi for a little while, available for free, cut down feature set, but that died for some reason many years ago.  Now it is a megalithic application that is trying to do almost everything to stay relevant, and (IMHO) somewhat failing in the face of free offerings targetting other languages and environments.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sun, 17 April 2016, 23:25:18
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

That.

It was Borland, then Codegear, then Inprise, then Codegear again, then Embarcadero, now someone else.

Borland were great back in the Turbo Pascal days (my first experience with OO programming), Turbo C.  There was a Turbo Delphi for a little while, available for free, cut down feature set, but that died for some reason many years ago.  Now it is a megalithic application that is trying to do almost everything to stay relevant, and (IMHO) somewhat failing in the face of free offerings targetting other languages and environments.

This.  Even when Microsoft tried to partner up with them, they were still trying too hard to compete in the wrong areas.  Development Community and Customer Service are where they could have competed easily with Microsoft.  But they didn't concentrate on that.  I'm firmly in the .NET category these days... but I miss the openness of Delphi.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 18 April 2016, 03:38:54
What didn't you like about Haskell?

It's been a while, but I found the syntax weird.

Maybe I'll give it another try some day because of the course we had to study it in. Dreadful. The professor got lost in his explanations and contradicted himself repeatedly. Assignments that felt unsuited for the languages' principles, etc. (He was just as bad explaining Prolog, but I "got" the concepts of it more readily.)

I was also learning some Ruby at the time and felt I learned more functional programming through its lambdas and map capabilities.

@jaffers: TIS-100 (http://www.zachtronics.com/tis-100/)? I wouldn't put it on a resume :P just like Pep/8 (http://computersystemsbook.com/4th-edition/pep8/). Gotta give it a try someday, had fun with Kohctpyktop (http://www.zachtronics.com/kohctpyktop-engineer-of-the-people/) from the same authors.

I found Haskell refreshing, but the syntax is well... not so readable if you ask me. But I like the fact that it is purely functional with supposedly no side effects.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 18 April 2016, 05:20:55
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

That.

It was Borland, then Codegear, then Inprise, then Codegear again, then Embarcadero, now someone else.

Borland were great back in the Turbo Pascal days (my first experience with OO programming), Turbo C.  There was a Turbo Delphi for a little while, available for free, cut down feature set, but that died for some reason many years ago.  Now it is a megalithic application that is trying to do almost everything to stay relevant, and (IMHO) somewhat failing in the face of free offerings targetting other languages and environments.

This.  Even when Microsoft tried to partner up with them, they were still trying too hard to compete in the wrong areas.  Development Community and Customer Service are where they could have competed easily with Microsoft.  But they didn't concentrate on that.  I'm firmly in the .NET category these days... but I miss the openness of Delphi.

We might have gone .NET at work a few years back, but chose Java instead (due to cross-platformness - Mono wasn't a big thing back then).

Now Java is the future of the company, but it's a huge task to rewrite everything in Java.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 18 April 2016, 05:21:26
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

That.

It was Borland, then Codegear, then Inprise, then Codegear again, then Embarcadero, now someone else.

Borland were great back in the Turbo Pascal days (my first experience with OO programming), Turbo C.  There was a Turbo Delphi for a little while, available for free, cut down feature set, but that died for some reason many years ago.  Now it is a megalithic application that is trying to do almost everything to stay relevant, and (IMHO) somewhat failing in the face of free offerings targetting other languages and environments.

This.  Even when Microsoft tried to partner up with them, they were still trying too hard to compete in the wrong areas.  Development Community and Customer Service are where they could have competed easily with Microsoft.  But they didn't concentrate on that.  I'm firmly in the .NET category these days... but I miss the openness of Delphi.

We might have gone .NET at work a few years back, but chose Java instead (due to cross-platformness - Mono wasn't a big thing back then).

Now Java is the future of the company, but it's a huge task to rewrite everything in Java.

Honestly, why java?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Mon, 18 April 2016, 05:29:38
Honestly, why java?

While Java may not be the greatest language, the JVM is an awesome piece of engineering. And you have tons of libraries, tooling and whatnot that come with the Java ecosystem. I'm not fond of the language itself, but the JVM, and the tooling is great.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 18 April 2016, 05:39:38
Delphi is no more right?

Where did you get that from? (https://www.embarcadero.com/products/delphi)

Thanks for pointing this out!

Yeah.. I forgot that Delphi is still around but not from Borland anymore.

But is it still as good as in the Borland days? To me, it now looks more like realbasic.. you can make stuff with it but not so much oriented to serious software dev anymore. Or am I wrong?

That.

It was Borland, then Codegear, then Inprise, then Codegear again, then Embarcadero, now someone else.

Borland were great back in the Turbo Pascal days (my first experience with OO programming), Turbo C.  There was a Turbo Delphi for a little while, available for free, cut down feature set, but that died for some reason many years ago.  Now it is a megalithic application that is trying to do almost everything to stay relevant, and (IMHO) somewhat failing in the face of free offerings targetting other languages and environments.

This.  Even when Microsoft tried to partner up with them, they were still trying too hard to compete in the wrong areas.  Development Community and Customer Service are where they could have competed easily with Microsoft.  But they didn't concentrate on that.  I'm firmly in the .NET category these days... but I miss the openness of Delphi.

We might have gone .NET at work a few years back, but chose Java instead (due to cross-platformness - Mono wasn't a big thing back then).

Now Java is the future of the company, but it's a huge task to rewrite everything in Java.

Honestly, why java?

Cross-platform, lots of libraries, and support from all of the major vendors.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 18 April 2016, 05:51:02
Honestly, why java?

Cross-platform, lots of libraries, and support from all of the major vendors.

Makes sense indeed. But personally I don't really like where the language has gone the past couple of years. But that's a matter of taste perhaps.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 18 April 2016, 06:00:47
Honestly, why java?

Cross-platform, lots of libraries, and support from all of the major vendors.

Makes sense indeed. But personally I don't really like where the language has gone the past couple of years. But that's a matter of taste perhaps.

So far I haven't done much of the Java stuff, I spend most days supporting our existing applications on Windows.  Plus researching technologies for deploying things, like at the moment I'm looking into Docker.  It's a shame Windows apps won't run in Docker 'cause it would be good to be able to make an image to deploy to clients, instead of the convoluted process we have now for releases.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 18 April 2016, 06:02:09
Honestly, why java?

Cross-platform, lots of libraries, and support from all of the major vendors.

Makes sense indeed. But personally I don't really like where the language has gone the past couple of years. But that's a matter of taste perhaps.

So far I haven't done much of the Java stuff, I spend most days supporting our existing applications on Windows.  Plus researching technologies for deploying things, like at the moment I'm looking into Docker.  It's a shame Windows apps won't run in Docker 'cause it would be good to be able to make an image to deploy to clients, instead of the convoluted process we have now for releases.

Docker is nice, I use it myself for python acceptance testing and testing otherwise.

Too bad it is not really open source. But it gets the job done.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 18 April 2016, 06:07:02
Honestly, why java?

Cross-platform, lots of libraries, and support from all of the major vendors.

Makes sense indeed. But personally I don't really like where the language has gone the past couple of years. But that's a matter of taste perhaps.

So far I haven't done much of the Java stuff, I spend most days supporting our existing applications on Windows.  Plus researching technologies for deploying things, like at the moment I'm looking into Docker.  It's a shame Windows apps won't run in Docker 'cause it would be good to be able to make an image to deploy to clients, instead of the convoluted process we have now for releases.

Docker is nice, I use it myself for python acceptance testing and testing otherwise.

Too bad it is not really open source. But it gets the job done.

This is straying somewhat off topic (of this off topic thread).  There is a new Docker version out, released some time in the last few days.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 18 April 2016, 06:11:48
Docker is nice, I use it myself for python acceptance testing and testing otherwise.

Too bad it is not really open source. But it gets the job done.

This is straying somewhat off topic (of this off topic thread).  There is a new Docker version out, released some time in the last few days.

Well off topic.. I guess a lot of developers have docker (or similar app) in their workflow.

But ok back on topic then!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Khuya on Tue, 19 April 2016, 00:33:41
Mostly .Net stuff, Visual Studio ftw!  I have not seen anything else comparable to VS.  Well, I have only used VS  :D
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 04:27:48
Mostly .Net stuff, Visual Studio ftw!  I have not seen anything else comparable to VS.  Well, I have only used VS  :D

VS is quite nice actually. But I don't used IDEs anymore.. I use vim or spacemacs.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Tue, 19 April 2016, 12:22:25
I have done professional programming for 20y. Started out in '8x on a Commodore64 with basic and assembler. Quick recap of the languages I have - and - do use:

C/Basic/C++/Pascal/ASM/SQL/JS/TS/Java/C#/Erlang/RPG III

Primary C#/JS/TS/SQL these days, Erlang for fun on my spare time. VS at work, Sublime Text @ home.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: metalliqaz on Tue, 19 April 2016, 12:40:40
C pays the bills.  Python is what I love.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:22:19
I have done professional programming for 20y. Started out in '8x on a Commodore64 with basic and assembler. Quick recap of the languages I have - and - do use:

C/Basic/C++/Pascal/ASM/SQL/JS/TS/Java/C#/Erlang/RPG III

Primary C#/JS/TS/SQL these days, Erlang for fun on my spare time. VS at work, Sublime Text @ home.

Nice! So you've reached the point where you choose the language that fits the project best, right?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:23:05
C pays the bills.  Python is what I love.

Would you suggest learning C for real? I've always been curious about C and raw performance. I can code in it with reference next to it. But I'm by know means a C hacker.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Tue, 19 April 2016, 13:27:36
C pays the bills.  Python is what I love.

Would you suggest learning C for real? I've always been curious about C and raw performance. I can code in it with reference next to it. But I'm by know means a C hacker.

If you ever want to play with stuff like Arduino, or very constrained systems, go and learn C.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:30:31
C pays the bills.  Python is what I love.

Would you suggest learning C for real? I've always been curious about C and raw performance. I can code in it with reference next to it. But I'm by know means a C hacker.

If you ever want to play with stuff like Arduino, or very constrained systems, go and learn C.

I think I would use it for performance reasons mainly. I'm building a Survey (questionnaire) engine which mainly involves CRUD and linking with some business logic on top. Of course, premature optimization is the root of all evil. But I'm now writing it in Python with Django just as a POC and then when I deploy live and I get bottlenecks, I guess it is worthwile to take out slow parts, rewrite them in C and link them back in python..
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: metalliqaz on Tue, 19 April 2016, 13:31:50
Who writes a web service in C?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Tue, 19 April 2016, 13:33:09
I have done professional programming for 20y. Started out in '8x on a Commodore64 with basic and assembler. Quick recap of the languages I have - and - do use:

C/Basic/C++/Pascal/ASM/SQL/JS/TS/Java/C#/Erlang/RPG III

Primary C#/JS/TS/SQL these days, Erlang for fun on my spare time. VS at work, Sublime Text @ home.

Nice! So you've reached the point where you choose the language that fits the project best, right?

In telco when you deploy a system into production, it is hard to kill. Still supporting VB6 systems 10-15 years of age. Other aspects when choosing a programming language is the availability of programmers in the area than can maintain the code base. I would love to do more in Erlang/Elm these days, but then my coworkers  must be upgraded.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:35:13
Who writes a web service in C?

No, it's not the webservice. It's only the back-end for internal processing when surveys are imported or built.

Surveys are composed of multiple objects / tables. And they can be imported using a DSL and other formats and once they are finalized / "compiled" / serialized to another format. But the surveys can get rather large. Scaling issue is what I anticipate with more and more users.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:35:58
Who writes a web service in C?

Oh, and it might sound crazy, though there are actually a few C web frameworks out there:

https://kore.io/ (https://kore.io/) for instance

But no, my webservice is python mostly
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:37:42
I have done professional programming for 20y. Started out in '8x on a Commodore64 with basic and assembler. Quick recap of the languages I have - and - do use:

C/Basic/C++/Pascal/ASM/SQL/JS/TS/Java/C#/Erlang/RPG III

Primary C#/JS/TS/SQL these days, Erlang for fun on my spare time. VS at work, Sublime Text @ home.

Nice! So you've reached the point where you choose the language that fits the project best, right?

In telco when you deploy a system into production, it is hard to kill. Still supporting VB6 systems 10-15 years of age. Other aspects when choosing a programming language is the availability of programmers in the area than can maintain the code base. I would love to do more in Erlang/Elm these days, but then my coworkers  must be upgraded.

Really? Here in the Netherlands, companies who built / maintained VB6 apps are mostly extinct / bankrupt now for a couple of years already.

We had this company "Pink Roccade" who was strong on VB6 (and a bit of Delphi I believe) and they faced major downsizings and restructurings already, probably in the advent of VS.NET.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Tue, 19 April 2016, 13:38:05
I think I would use it for performance reasons mainly. I'm building a Survey (questionnaire) engine which mainly involves CRUD and linking with some business logic on top. Of course, premature optimization is the root of all evil. But I'm now writing it in Python with Django just as a POC and then when I deploy live and I get bottlenecks, I guess it is worthwile to take out slow parts, rewrite them in C and link them back in python..

I'm pretty darn sure C wouldn't help there at all. Your bottleneck is likely somewhere else. Profile, measure, and then figure out how to fix the slow parts. Just doing some of the work in C may even slow it down, due to having to massage data between C and Python. Not to mention development speed...
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 13:39:23
I think I would use it for performance reasons mainly. I'm building a Survey (questionnaire) engine which mainly involves CRUD and linking with some business logic on top. Of course, premature optimization is the root of all evil. But I'm now writing it in Python with Django just as a POC and then when I deploy live and I get bottlenecks, I guess it is worthwile to take out slow parts, rewrite them in C and link them back in python..

I'm pretty darn sure C wouldn't help there at all. Your bottleneck is likely somewhere else. Profile, measure, and then figure out how to fix the slow parts. Just doing some of the work in C may even slow it down, due to having to massage data between C and Python. Not to mention development speed...

Good points, thanks! Of course, I would thoroughly profile first. I didn't think about moving data between C and Python. I've never interfaced with C directly from python... I thought / hoped C could access Python allocated memory / data directly but apparently not then.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Tue, 19 April 2016, 13:46:01
I have done professional programming for 20y. Started out in '8x on a Commodore64 with basic and assembler. Quick recap of the languages I have - and - do use:

C/Basic/C++/Pascal/ASM/SQL/JS/TS/Java/C#/Erlang/RPG III

Primary C#/JS/TS/SQL these days, Erlang for fun on my spare time. VS at work, Sublime Text @ home.

Nice! So you've reached the point where you choose the language that fits the project best, right?

In telco when you deploy a system into production, it is hard to kill. Still supporting VB6 systems 10-15 years of age. Other aspects when choosing a programming language is the availability of programmers in the area than can maintain the code base. I would love to do more in Erlang/Elm these days, but then my coworkers  must be upgraded.

Really? Here in the Netherlands, companies who built / maintained VB6 apps are mostly extinct / bankrupt now for a couple of years already.

We had this company "Pink Roccade" who was strong on VB6 (and a bit of Delphi I believe) and they faced major downsizings and restructurings already, probably in the advent of VS.NET.

Well, there is not much active development on this part. Most of the functionality is rewritten to a C#/JS, SPA application. But you'll find a report or two that is still there.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: jbondeson on Tue, 19 April 2016, 13:58:06
I'm all over the place.

My day job is mostly C# and Javascript, but I sling C, C++, Go, F#, or Clojure on side projects. I really need to catch up on Rust post-1.0 since I like many of the concepts of Go, but some of the trade offs it imposes on you make it a non-ideal choice for many projects.

I use VS for .NET for now, but with Rosyln and the new pipeline it may get replaced with my other editor of choice: emacs.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 14:08:42
I'm all over the place.

My day job is mostly C# and Javascript, but I sling C, C++, Go, F#, or Clojure on side projects. I really need to catch up on Rust post-1.0 since I like many of the concepts of Go, but some of the trade offs it imposes on you make it a non-ideal choice for many projects.

I use VS for .NET for now, but with Rosyln and the new pipeline it may get replaced with my other editor of choice: emacs.

Do you like Javascript? I've played with rust / go but don't particularly like it.

Has anybody here used nimrod or looked at it? (apparently they call themselves "nim" now)

http://nim-lang.org (http://nim-lang.org)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: jbondeson on Tue, 19 April 2016, 14:27:10
Do you like Javascript?

Javascript the language is ok, and as of ES6 I'd say it's pretty good (if you avoid ever using classes -- it's a prototype language for spaghetti monster's sake!). So when slinging JS for a singular target (say Electron to build a client side app) it can be great. The problem is that when you target the Webbernets you get to contend with the hell that is legacy browsers. "But OK, I'll just transpile!" And now you're into the ghetto that is JS/Web tooling. Every couple of months the "community" declares the current dominant build system to be "Irrevocably Broken!" and we need to throw it all away and use "Bikeshed Build System Mk XLII." Rinse. Repeat. ad nauseum

So in short: JS is a pretty okay language that has been destroyed by a "community" that is hell bent to forget every lesson that was ever learned in software development and repeat them all bigger and badder than ever.

I've played with rust / go but don't particularly like it.

It really depends upon what you're looking to accomplish. I really like go's philosophy of static linking, but some of their philosophies (simplicity above all else!1!!1) are holding it back. As for Rust that hits a sweet spot for me with low level software development that I'd currently use C for, but it takes away some of the insanity of C development -- it's now pretty much impossible to write an application that doesn't rely on "undefined" behavior.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 14:30:56
Do you like Javascript?

Javascript the language is ok, and as of ES6 I'd say it's pretty good (if you avoid ever using classes -- it's a prototype language for spaghetti monster's sake!). So when slinging JS for a singular target (say Electron to build a client side app) it can be great. The problem is that when you target the Webbernets you get to contend with the hell that is legacy browsers. "But OK, I'll just transpile!" And now you're into the ghetto that is JS/Web tooling. Every couple of months the "community" declares the current dominant build system to be "Irrevocably Broken!" and we need to throw it all away and use "Bikeshed Build System Mk XLII." Rinse. Repeat. ad nauseum

So in short: JS is a pretty okay language that has been destroyed by a "community" that is hell bent to forget every lesson that was ever learned in software development and repeat them all bigger and badder than ever.


Yeah.. I consider JS to be the one and true embodiment of "clusterf*ck". I do webdev, python back-end with django rest and then angularjs with restangular on front-end. But all these small libraries and these large frameworks and the toolchain (yeoman, grunt, node, test runners, etc.) it's so crappy, slow, and unreliable. It often breaks for me. And dependency hell. It seems like scriptkiddies made all these tools. So much stuff is not thought out properly it makes me pull hairs out. I'm often trying to fix basic stuff and then I figure out there is a ticket on it on github already.

JavaScript as a language is not too bad. But all these frameworks and libraries and tools are driving me insane.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Mad_Maxx on Tue, 19 April 2016, 15:19:02
I am not sure if I might be considered a programmer; but, being an mechanical engineer I spent many years working in the automotive industry designing and running experiments, lastly, I teach DoE using R with RStudio, also I teach some Geostatistics and financial risk analysis with the same platform, I make basic scripts to solve the examples I use and make them available for my students with Knitr, Latex and Markdown. Hope this is not out of topic  :p

Yooo represent!
I'm a MechE student in my last year of school, with a plan of going into the auto industry! Haven't seen too many MechEs around here. You happen to work for a supplier in metro Detroit? Cause thats where everyone in the auto industry I know is, and where a lot of my friends are going after graduation.

To answer the post question: I've been doing a lot of C and Arduino programming for a CS minor that I'm getting and a grad robotics class I'm in.
C is pretty baller. Feels dangerous, therefore I am the danger. Keeps things fresh.
I've also used a lot of Java for intro to programming stuff, and Matlab for ME stuff.

Sublime all the way so far. Everything I need, nothing I don't.

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 15:23:11
I am not sure if I might be considered a programmer; but, being an mechanical engineer I spent many years working in the automotive industry designing and running experiments, lastly, I teach DoE using R with RStudio, also I teach some Geostatistics and financial risk analysis with the same platform, I make basic scripts to solve the examples I use and make them available for my students with Knitr, Latex and Markdown. Hope this is not out of topic  :p

Yooo represent!
I'm a MechE student in my last year of school, with a plan of going into the auto industry! Haven't seen too many MechEs around here. You happen to work for a supplier in metro Detroit? Cause thats where everyone in the auto industry I know is, and where a lot of my friends are going after graduation.

To answer the post question: I've been doing a lot of C and Arduino programming for a CS minor that I'm getting and a grad robotics class I'm in.
C is pretty baller. Feels dangerous, therefore I am the danger. Keeps things fresh.
I've also used a lot of Java for intro to programming stuff, and Matlab for ME stuff.

Sublime all the way so far. Everything I need, nothing I don't.

You like Matlab? I've used Mathematica for a bit, but didn't really enjoy it. But I guess I'm not the target audience (statistiscs).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Mad_Maxx on Tue, 19 April 2016, 15:55:08
I am not sure if I might be considered a programmer; but, being an mechanical engineer I spent many years working in the automotive industry designing and running experiments, lastly, I teach DoE using R with RStudio, also I teach some Geostatistics and financial risk analysis with the same platform, I make basic scripts to solve the examples I use and make them available for my students with Knitr, Latex and Markdown. Hope this is not out of topic  :p

Yooo represent!
I'm a MechE student in my last year of school, with a plan of going into the auto industry! Haven't seen too many MechEs around here. You happen to work for a supplier in metro Detroit? Cause thats where everyone in the auto industry I know is, and where a lot of my friends are going after graduation.

To answer the post question: I've been doing a lot of C and Arduino programming for a CS minor that I'm getting and a grad robotics class I'm in.
C is pretty baller. Feels dangerous, therefore I am the danger. Keeps things fresh.
I've also used a lot of Java for intro to programming stuff, and Matlab for ME stuff.

Sublime all the way so far. Everything I need, nothing I don't.

You like Matlab? I've used Mathematica for a bit, but didn't really enjoy it. But I guess I'm not the target audience (statistiscs).

In a word: Nope.
It's an awesome tool, and I've learned things about Matlab, Simulink, and SimScape in the last year that are freaking insane if you're in a field that might need their functionality, but I just don't get any enjoyment out of using them. Here's a video of my final project for my robotics class:
, which is a gimbal system I got from GrabCAD, imported into SimMechanics, and created a control system for. So the video is the system responding to random step inputs for position control. It was a super low effort attempt cause I've been so busy this semester, but I got a 97% on it so heyyy. (I think the TA looks at me and goes "Aww poor undergrad. He has no clue what he's doing. We might as well throw him a bone and let him live in ignorance".)

Even tho it was a fun project to do, I just don't get that same feeling of satisfaction as I do after a program runs correctly. I'm pretty sure I should've been a software dev.

I've also used Mathematica a fair bit, but it seems to me that Matlab is a strict upgrade. Matlab's visualization tools aren't as easy to use, but its so much more powerful.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 19 April 2016, 17:15:47
You like Matlab? I've used Mathematica for a bit, but didn't really enjoy it. But I guess I'm not the target audience (statistiscs).

In a word: Nope.
It's an awesome tool, and I've learned things about Matlab, Simulink, and SimScape in the last year that are freaking insane if you're in a field that might need their functionality, but I just don't get any enjoyment out of using them. Here's a video of my final project for my robotics class:
, which is a gimbal system I got from GrabCAD, imported into SimMechanics, and created a control system for. So the video is the system responding to random step inputs for position control. It was a super low effort attempt cause I've been so busy this semester, but I got a 97% on it so heyyy. (I think the TA looks at me and goes "Aww poor undergrad. He has no clue what he's doing. We might as well throw him a bone and let him live in ignorance".)

Even tho it was a fun project to do, I just don't get that same feeling of satisfaction as I do after a program runs correctly. I'm pretty sure I should've been a software dev.

I've also used Mathematica a fair bit, but it seems to me that Matlab is a strict upgrade. Matlab's visualization tools aren't as easy to use, but its so much more powerful.

Matlab.. not even once :P

Matlab is really powerful but there is something I just don't like about it. I heard matrix operations / calculations are VERY powerful in Matlab. One of the best sparse matrix implementations around.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Tue, 19 April 2016, 21:53:38
Who writes a web service in C?

It's not a web service per se, but I love how you can start a basic web server in Python without any code:

python -m SimpleHTTPServer
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 20 April 2016, 04:07:03
Who writes a web service in C?

It's not a web service per se, but I love how you can start a basic web server in Python without any code:

python -m SimpleHTTPServer

I use that all the time, it is really nice. I also like how it's really easy to have a simple web server using code.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rurushu on Wed, 20 April 2016, 19:31:25
Did Java back in my Uni degree, done around 9 months plus of ABAP for my first job.

IDE is the way for me, the syntax checks and auto-complete is too much to pass up.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Darkshado on Wed, 20 April 2016, 21:32:04
How are the tools with the SAP stuff? Decent?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: venyv on Thu, 21 April 2016, 13:56:23
Javascript, PHP, Ruby, GO

Editor: Sublime
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rurushu on Fri, 22 April 2016, 11:23:35
How are the tools with the SAP stuff? Decent?

well, for a proprietary system and its standalone language I think the tools are fine, but what I really cant stand is when the system is running slow due to resource constraints as SAP is kind of like server-client design. When the servers are slow as ****, you will feel like flipping the table just waiting for it to load the goddamn debugger  :mad:
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 23 April 2016, 10:18:23
Did Java back in my Uni degree, done around 9 months plus of ABAP for my first job.

IDE is the way for me, the syntax checks and auto-complete is too much to pass up.

I have syntax checks (linting) and auto-complete in vim as well!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rurushu on Sat, 23 April 2016, 13:36:13
Did Java back in my Uni degree, done around 9 months plus of ABAP for my first job.

IDE is the way for me, the syntax checks and auto-complete is too much to pass up.

I have syntax checks (linting) and auto-complete in vim as well!

to me, those are like the essentials of a programming tool, ain't nobody got time to check line by line for them missing syntaxes  :)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Sat, 23 April 2016, 13:38:58
Did Java back in my Uni degree, done around 9 months plus of ABAP for my first job.

IDE is the way for me, the syntax checks and auto-complete is too much to pass up.

I have syntax checks (linting) and auto-complete in vim as well!

to me, those are like the essentials of a programming tool, ain't nobody got time to check line by line for them missing syntaxes  :)

And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Sun, 24 April 2016, 00:59:25
Did Java back in my Uni degree, done around 9 months plus of ABAP for my first job.

IDE is the way for me, the syntax checks and auto-complete is too much to pass up.

I have syntax checks (linting) and auto-complete in vim as well!

to me, those are like the essentials of a programming tool, ain't nobody got time to check line by line for them missing syntaxes  :)

And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.

There was an update to PEP8 recently!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: UsualSuspectXXX on Sun, 24 April 2016, 08:21:00
Hey, programmer here. I'm a Salesforce developer. I don't work for them, but do cushion development on the platform.

I do not use an IDE, strictly Sublime Text

Most of the languages that I use are proprietary to Salesforce.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Hak Foo on Sun, 24 April 2016, 14:20:49
I use PHP.  Mostly Notepad++, or vim if I'm sshed into something for a quick task.

I tend to prefer PHP because it's still by far the leader in terms of "I have a random code-base (usually inherited from client) and random hosting (also inherited, or they insist on using a vendor that had a slick sales pitch).  Odds are they will work without too much hassle."

I still recall one client project we had-- half-baked, written in Ruby, and came with a 45-step "how to set up a test environment" guide that involved setting up Vagrant images and posting stuff up and down to Github to deploy.  The only way to get it to even behave as a test environment was to set up a Linux install on a spare desktop, and the site was so badly designed and the virtual machine configuration they used so awful resulted in it literally taking 30 seconds to load a page, with test data, on a local machine.

We said "we're spending longer waiting on page loads than actually developing" and just wrote a new PHP site that talked to their old database, because it let us finish in half the time.

I did my degree programme in Java and have used it about three times since then.  One client insisted on an applet being written, basically, because we needed to scan a user's local filesystem for things we wanted them to upload.  Never mind that the market penetration of the Java plugin is at -3% and dropping.
Title: Any programmers on geekhack? What language(s) do you use?
Post by: vito687 on Sun, 24 April 2016, 14:29:40
Java/JSP/sightly for an enterprise level platform called adobe experience manager .  HTML, CSS, JS .  Recently played with some flat html site generators like Jekyll (super cool, kind of like wordless without a UI) .  For JS I have evaluated a few different package tools like grunt, gulp, and NPM by itself for my workflow ... Lastly played with Angular and React (actually surprisingly favor react a bit over angular ).  Side note to the docker people - my last project we deployed a react based application that was built into a spring application to a docker container which was then deployed ... Was definitely a nice/easy process to use docker

Edit:Left out Ruby , Sass, and PHP ... So that too
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 25 April 2016, 05:10:53
And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.

There was an update to PEP8 recently!

Noes! When? What's changed?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 25 April 2016, 05:13:19
I use PHP.  Mostly Notepad++, or vim if I'm sshed into something for a quick task.

I tend to prefer PHP because it's still by far the leader in terms of "I have a random code-base (usually inherited from client) and random hosting (also inherited, or they insist on using a vendor that had a slick sales pitch).  Odds are they will work without too much hassle."

I still recall one client project we had-- half-baked, written in Ruby, and came with a 45-step "how to set up a test environment" guide that involved setting up Vagrant images and posting stuff up and down to Github to deploy.  The only way to get it to even behave as a test environment was to set up a Linux install on a spare desktop, and the site was so badly designed and the virtual machine configuration they used so awful resulted in it literally taking 30 seconds to load a page, with test data, on a local machine.

We said "we're spending longer waiting on page loads than actually developing" and just wrote a new PHP site that talked to their old database, because it let us finish in half the time.

I did my degree programme in Java and have used it about three times since then.  One client insisted on an applet being written, basically, because we needed to scan a user's local filesystem for things we wanted them to upload.  Never mind that the market penetration of the Java plugin is at -3% and dropping.

Yeah well my 50 cents is... PHP gets the job done, but also at what expense. Just because IT IS so easy to get something up on the screen means any moron can do it. And often that's how legacy codebases look. When I do code review I'm like "wtf... like for real... WHY?". That's what steered me away from PHP. That, plus inconsistencies in the language and behavior though I learned to neglect them, having been a PHP developer since 2003 or so.

Obligatory pic:

[attachimg=1]
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 25 April 2016, 10:09:47
Very nice pic!  I'd not heard of that site- he has some pretty cool stuff for a non-web-comic site.  I had to send that one around.  And the one about Head of Magic on the business card.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Mon, 25 April 2016, 12:05:32
WTFs/Minute is a classic. Other great sites:

Classic Programmer Paintings

http://classicprogrammerpaintings.com/

Geek & Poke

(http://static1.squarespace.com/static/518f5d62e4b075248d6a3f90/t/56fd9cbdf699bb0370efa1f1/1459461348916/?format=2500w)

http://geek-and-poke.com/

xkcd

(https://imgs.xkcd.com/comics/exploits_of_a_mom.png)

https://xkcd.com/327/
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Bromono on Mon, 25 April 2016, 12:10:08
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: UsualSuspectXXX on Mon, 25 April 2016, 13:14:09
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 25 April 2016, 14:01:52
WTFs/Minute is a classic. Other great sites:

Classic Programmer Paintings

http://classicprogrammerpaintings.com/

Geek & Poke

Show Image
(http://static1.squarespace.com/static/518f5d62e4b075248d6a3f90/t/56fd9cbdf699bb0370efa1f1/1459461348916/?format=2500w)


http://geek-and-poke.com/

xkcd

Show Image
(https://imgs.xkcd.com/comics/exploits_of_a_mom.png)


https://xkcd.com/327/

Cool, thanks! Never heard of geek-and-poke. I often go to c2 wiki to see about fun jokes and the real nerd stuff only developers understand (like "A SQL query goes into a bar, walks up to two tables and asks, "Can I join you?"").
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 25 April 2016, 14:02:14
WTFs/Minute is a classic. Other great sites:


Don't think you can call yourself a programmer and not know about xkcd.  The others are pretty good, though :)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 25 April 2016, 14:05:26
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

Assembly is a great way to truly understand what your computer (or CPU) is doing. As a matter of fact, assembly is used even in higher level languages to see what, for instance in the case of python, the interpreter is doing and what it could do better. Or micro-optimizations / profiling / micro-profiling.

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 25 April 2016, 14:36:10
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

Assembly is a great way to truly understand what your computer (or CPU) is doing. As a matter of fact, assembly is used even in higher level languages to see what, for instance in the case of python, the interpreter is doing and what it could do better. Or micro-optimizations / profiling / micro-profiling.

That still doesn't really tell why.  Especially if you're just learning, for the difficulty in learning/programming.  And the general overall usefulness.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Mon, 25 April 2016, 15:11:36
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

Assembly is a great way to truly understand what your computer (or CPU) is doing. As a matter of fact, assembly is used even in higher level languages to see what, for instance in the case of python, the interpreter is doing and what it could do better. Or micro-optimizations / profiling / micro-profiling.

That still doesn't really tell why.  Especially if you're just learning, for the difficulty in learning/programming.  And the general overall usefulness.

For the sake of learning, assembly is useful to understand the intricate parts of how a CPU works: the memory (registers) in the CPU itself, how to move data back and forth between registers and how to work with system memory (memory outside of the CPU).

For overall usefulness I tried to give an example. First example is to optimize the efficiency of an interpreter. An interpreter converts your program into bytecode that is then fed into the virtual machine that actually executes the code. By profiling (making an exact snapshot of the instructions that a CPU executed) this code, you can see what the interpreter actually did with your code and where it could have been more efficient, like less instructions or using different instructions or jumps.

Another application would be to profile (again, make a snapshot of the instruction that a CPU executed) your own interpreted application, see where there is a bottleneck or where the interpreter is slow or inefficient and try to make your own function for that particular piece of code in a more low level language like C or assembly directly.

Is that more clear?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 25 April 2016, 16:04:59
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

Assembly is a great way to truly understand what your computer (or CPU) is doing. As a matter of fact, assembly is used even in higher level languages to see what, for instance in the case of python, the interpreter is doing and what it could do better. Or micro-optimizations / profiling / micro-profiling.

That still doesn't really tell why.  Especially if you're just learning, for the difficulty in learning/programming.  And the general overall usefulness.

For the sake of learning, assembly is useful to understand the intricate parts of how a CPU works: the memory (registers) in the CPU itself, how to move data back and forth between registers and how to work with system memory (memory outside of the CPU).

For overall usefulness I tried to give an example. First example is to optimize the efficiency of an interpreter. An interpreter converts your program into bytecode that is then fed into the virtual machine that actually executes the code. By profiling (making an exact snapshot of the instructions that a CPU executed) this code, you can see what the interpreter actually did with your code and where it could have been more efficient, like less instructions or using different instructions or jumps.

Another application would be to profile (again, make a snapshot of the instruction that a CPU executed) your own interpreted application, see where there is a bottleneck or where the interpreter is slow or inefficient and try to make your own function for that particular piece of code in a more low level language like C or assembly directly.

Is that more clear?

Yes.  Thanks for your thoughts.  I totally disagree, however.  That might have been true even as late as the 90s.  But these days, unless you're doing low level driver work, there are tools to do this.  And yes, I know assembler, so this is from my own experience.  Some of the terms and operations might help, but even that is arguable, especially since its different for different processor architectures.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: UsualSuspectXXX on Mon, 25 April 2016, 17:42:49
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

Assembly is a great way to truly understand what your computer (or CPU) is doing. As a matter of fact, assembly is used even in higher level languages to see what, for instance in the case of python, the interpreter is doing and what it could do better. Or micro-optimizations / profiling / micro-profiling.

That still doesn't really tell why.  Especially if you're just learning, for the difficulty in learning/programming.  And the general overall usefulness.

For the sake of learning, assembly is useful to understand the intricate parts of how a CPU works: the memory (registers) in the CPU itself, how to move data back and forth between registers and how to work with system memory (memory outside of the CPU).

For overall usefulness I tried to give an example. First example is to optimize the efficiency of an interpreter. An interpreter converts your program into bytecode that is then fed into the virtual machine that actually executes the code. By profiling (making an exact snapshot of the instructions that a CPU executed) this code, you can see what the interpreter actually did with your code and where it could have been more efficient, like less instructions or using different instructions or jumps.

Another application would be to profile (again, make a snapshot of the instruction that a CPU executed) your own interpreted application, see where there is a bottleneck or where the interpreter is slow or inefficient and try to make your own function for that particular piece of code in a more low level language like C or assembly directly.

Is that more clear?

Yes.  Thanks for your thoughts.  I totally disagree, however.  That might have been true even as late as the 90s.  But these days, unless you're doing low level driver work, there are tools to do this.  And yes, I know assembler, so this is from my own experience.  Some of the terms and operations might help, but even that is arguable, especially since its different for different processor architectures.

chuckdee, I agree with you. I learned assembly a while ago and to this day it's still one of the most useless things I've learned. Right next to Fortran. For a new programmer, it would be much more useful to gain knowledge in languages that you are more likely to use on a regular basis or can help get you a job. You cannot argue that knowledge of higher level languages are much more useful in the world we live in.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 25 April 2016, 17:55:11
chuckdee, I agree with you. I learned assembly a while ago and to this day it's still one of the most useless things I've learned. Right next to Fortran. For a new programmer, it would be much more useful to gain knowledge in languages that you are more likely to use on a regular basis or can help get you a job. You cannot argue that knowledge of higher level languages are much more useful in the world we live in.

You wasted your time learned FORTRAN?  ;D  I'd say that the only other languages I learned that were as big of a waste were Ada and COBOL.  Except ADA helped me in Delphi (no... for real.  Learn ADA first, and Pascal becomes a breeze, and this is supported by research - http://www.sigada.org/conf/sa98/papers/murtagh.pdf ), and COBOL helped me make money.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: UsualSuspectXXX on Mon, 25 April 2016, 18:37:04
You learned FORTRAN?  ;D 

Barely. Had to use if for one my classes. Worst part was that it wasn't even the most recent version. I think it was the '95 version, which meant 6 or less characters for variables and method names >_<

I had a professor threaten to make us learn COBOL =P
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 25 April 2016, 22:28:02
And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.

There was an update to PEP8 recently!

Noes! When? What's changed?

Can't find the reference now.

Apparently the new version has numeric operators at the beginning of the next line where a line is split, instead of the end of the first line.

result = a \
         + b \
         + c

instead of:

result = a + \
            b + \
            c
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Bromono on Tue, 26 April 2016, 06:42:37
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

All of those are requirements for work.

and assembly is great for reverse engineering.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: dgneo on Tue, 26 April 2016, 07:11:00
Learning C atm.

Then C++

then assembly

then python.

Going to be a long 3 months.

Why even bother with assembly?

All of those are requirements for work.

and assembly is great for reverse engineering.

Was about to post this, easily best reason imo.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: quadcube on Tue, 26 April 2016, 07:39:30
mainly C,then C++,assembly,SQL,Bash,Verilog..

most of the projects I have done are on micro-controllers
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 26 April 2016, 12:08:51
And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.

There was an update to PEP8 recently!

Noes! When? What's changed?

Can't find the reference now.

Apparently the new version has numeric operators at the beginning of the next line where a line is split, instead of the end of the first line.

result = a \
         + b \
         + c

instead of:

result = a + \
            b + \
            c

Thanks for the details. I think I prefer the old formatting better.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Tue, 26 April 2016, 16:14:47
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Ocaml, because of the static typing, decent functional features and ease of use.
And OPAM prints cute camels in my terminal window.

Do you use an IDE or do you hate IDE's?
I use IntelliJ IDEA and Neovim. I don't hate IDE's but my IDE use is on decline.

What languages do you hate with passion?
PHP, Perl, JS, Scala, Clojure.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Tue, 26 April 2016, 22:01:58
And don't forget trailing slashes!

I do python coding and there is this "convention" people try to follow.. it's called PEP-8. So I have my linting set up to automatically check for that and even auto-correct on save when possible. That really saves a LOT of time during coding.

There was an update to PEP8 recently!

Noes! When? What's changed?

Can't find the reference now.

Apparently the new version has numeric operators at the beginning of the next line where a line is split, instead of the end of the first line.

result = a \
         + b \
         + c

instead of:

result = a + \
            b + \
            c

Thanks for the details. I think I prefer the old formatting better.

Me too.

I don't think much of my code complies with PEP8 :))
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Wed, 27 April 2016, 05:33:45
Living from my Python skills for some years now. I first learnt and used C and C++, but never took the time to learn ASM and now it sometimes bites me in the ass when I want to do some low-level programming.  :(

As for that PEP8 change, here it is: https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Wed, 27 April 2016, 06:54:19
ПБТ НЕ НАВСЕГДА, НО НАДОЛГО
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Wed, 27 April 2016, 08:06:45
ПБТ НЕ НАВСЕГДА, НО НАДОЛГО

Still longer than double-shots! Not the point here, though.  :D
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 27 April 2016, 08:47:13
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Cool so Erlang actually IS used in real situations for real projects.

What languages do you hate with passion?
PHP, Perl, JS, Scala, Clojure.

What's wrong with Clojure in particular? Don't you like Lisp on top of jvm?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 27 April 2016, 08:48:23
Thanks for the details. I think I prefer the old formatting better.

Me too.

I don't think much of my code complies with PEP8 :))

My code almost complies. The only check I always turn off is the multi-line indenting rule within brackets. Makes code too difficult to read (and write).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Wed, 27 April 2016, 09:22:06
All my code complies to PEP8 at 99%, except for monkey-patchs.
I check it real-time all the time on my editor: https://github.com/ramnes/.emacs.d/blob/master/bin/pycheck#L5

E125 and E129 are useless (not part of the real PEP8), and the 80 columns rule (E501) is deactivated just because I got something else in my configuration that handle it better and just highlight the characters beyond 80.

PEP8 is a really good norm, guys.

I think it could (and maybe should) be much stricter, and even enforced by the interpreter actually.  >:D
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 27 April 2016, 09:39:47
All my code complies to PEP8 at 99%, except for monkey-patchs.
I check it real-time all the time on my editor: https://github.com/ramnes/.emacs.d/blob/master/bin/pycheck#L5

E125 and E129 are useless (not part of the real PEP8), and the 80 columns rule (E501) is deactivated just because I got something else in my configuration that handle it better and just highlight the characters beyond 80.

PEP8 is a really good norm, guys.

I think it could (and maybe should) be much stricter, and even enforced by the interpreter actually.  >:D

I love PEP8 and at least (almost) everybody in the python community agrees to that standard.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Wed, 27 April 2016, 10:22:12
I was mostly saying that for rowdy, who doesn't seem to care.  :)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Wed, 27 April 2016, 22:02:39
I was mostly saying that for rowdy, who doesn't seem to care.  :)

For a start I am pretty much the only person who ever reads my code.

I also use terminals with 180 column width, so limiting to 79 characters is silly.

I only ever use single blank lines (but do separate classes with #############################################).

I put all my simple imports on one line.

Inline comments are separated by one space.

That's after a quick look at PEP8.

I have been writing Python code since, er, maybe as long ago as the late 199s, which predates PEP8.  I use this in my defence.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Wed, 27 April 2016, 23:23:06
I have been writing Python code since, er, maybe as long ago as the late 199s, which predates PEP8.  I use this in my defence.

No defense necessary.  The programmer who hasn't written code that's less than optimal hasn't been programming long.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Thu, 28 April 2016, 04:01:34
I also use terminals with 180 column width, so limiting to 79 characters is silly.

Come on, you know that's not the point.  :(

I'm on a 30" inch monitor, and I can put 364 characters on a line if I wanted to... and I'm still following the 80 columns rule.  ;)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ileben on Thu, 28 April 2016, 04:10:52
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: funderburker on Thu, 28 April 2016, 04:44:28
I also use terminals with 180 column width, so limiting to 79 characters is silly.

Come on, you know that's not the point.  :(

I'm on a 30" inch monitor, and I can put 364 characters on a line if I wanted to... and I'm still following the 80 columns rule.  ;)

Agree, 80 columns rule is for easy reading. Better the code to go vertical than horizontal. Easier to read, easier to maintain, easier to "push" and see changes.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Thu, 28 April 2016, 05:29:21
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Can you run VS on a Mac?

Will it run under Linux?

:p
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Thu, 28 April 2016, 05:54:33
Will it be as great as JetBrains products?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Thu, 28 April 2016, 12:21:39
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Can you run VS on a Mac?

Will it run under Linux?

:p

It will if you're using VS Code - https://code.visualstudio.com/Download

Or if you use a virtualizing solution :P

But I do disagree that it's the best option as a solution for everyone, and that programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.  There are things that you can do with other options that you can't do with a full-fledged IDE.  They're all tools- use what works for you. 

I'm not going to try to hammer a screw just because I love hammers and don't want to join the screwdriver coalition :P
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Thu, 28 April 2016, 12:47:56
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Cool so Erlang actually IS used in real situations for real projects.
What are you even talking about? Is it hard to find the actual Erlang users through a simple web search?


What languages do you hate with passion?
PHP, Perl, JS, Scala, Clojure.

What's wrong with Clojure in particular? Don't you like Lisp on top of jvm?
-- Dynamic typing
-- Insufficient workarounds for dynamic typing
-- Cryptic stacktraces
-- Poor tooling
-- Insane resource usage
-- Little to no documentation for libraries and frameworks
-- There's a ****ton of code with deep nesting, which looks ugly.
-- nil

ПБТ НЕ НАВСЕГДА, НО НАДОЛГО

Still longer than double-shots! Not the point here, though.  :D
did you know that there are PBT doubleshots m8
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ramnes on Fri, 29 April 2016, 05:09:11
I'm OG-only, I don't know PBT double-shots.  ;D
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Fri, 29 April 2016, 05:39:48
I was mostly saying that for rowdy, who doesn't seem to care.  :)

For a start I am pretty much the only person who ever reads my code.

I also use terminals with 180 column width, so limiting to 79 characters is silly.

I only ever use single blank lines (but do separate classes with #############################################).

I put all my simple imports on one line.

Inline comments are separated by one space.

That's after a quick look at PEP8.

I have been writing Python code since, er, maybe as long ago as the late 199s, which predates PEP8.  I use this in my defence.

Nothing wrong with that. Usually with the python projects I come across or are personally involved in, we have a document outlining how the project decided to differ from PEP-8. Works pretty well to keep everybody in the team on the same page.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Fri, 29 April 2016, 05:43:22
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Can you run VS on a Mac?

Will it run under Linux?

:p

It will if you're using VS Code - https://code.visualstudio.com/Download

Or if you use a virtualizing solution :P

But I do disagree that it's the best option as a solution for everyone, and that programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.  There are things that you can do with other options that you can't do with a full-fledged IDE.  They're all tools- use what works for you. 

I'm not going to try to hammer a screw just because I love hammers and don't want to join the screwdriver coalition :P


Well... I personally hate IDEs because I want an IDE that fits MY thinking and not the other way round so I stick to vim/emacs/spacemacs. But in the end, I basically end up with a custom IDE in vim / emacs with a load of plugins. So I guess that all I want is, is an IDE that follows my train of thought and doesn't get in the way.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Fri, 29 April 2016, 05:44:33
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Cool so Erlang actually IS used in real situations for real projects.
What are you even talking about? Is it hard to find the actual Erlang users through a simple web search?

Perhaps I'm misinformed then. I thought erlang was more of a niche language. I've never really used it myself, except for toying around a bit.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Fri, 29 April 2016, 08:49:25
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Cool so Erlang actually IS used in real situations for real projects.
What are you even talking about? Is it hard to find the actual Erlang users through a simple web search?

Perhaps I'm misinformed then. I thought erlang was more of a niche language. I've never really used it myself, except for toying around a bit.
Ever heard of that thing called WhatsApp?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: vyshane on Fri, 29 April 2016, 22:15:43
Cool so Erlang actually IS used in real situations for real projects.
What are you even talking about? Is it hard to find the actual Erlang users through a simple web search?

Perhaps I'm misinformed then. I thought erlang was more of a niche language. I've never really used it myself, except for toying around a bit.

Elixir (http://elixir-lang.org), a newish language on the Erlang VM is getting pretty popular.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 30 April 2016, 04:39:04
Elixir's syntax makes me cringe.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Sat, 30 April 2016, 18:57:28
There's no language that's not worth learning, just something to consider for the people debating the usefulness of things like assembler, FORTRAN, or Erlang.

Also, Erlang is ****ing hardcore.

http://www.infoq.com/presentations/self-heal-scalable-system
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 30 April 2016, 19:12:56
Erlang isn't hardcore at all. Also the previous poster is wrong.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Sat, 30 April 2016, 20:10:27
There's no language that's not worth learning, just something to consider for the people debating the usefulness of things like assembler, FORTRAN, or Erlang.

Also, Erlang is ****ing hardcore.

http://www.infoq.com/presentations/self-heal-scalable-system

That's not remotely close to what we were saying.  Just that for today, the relative usefulness of languages is a real thing.  You will get more out of certain languages in general use than others.  Once he said the use case, it made a lot of sense.  But in absence of that context, not so much.  And actually taking your statement, it could be edited to say "there's nothing that's not worth learning", because that would be just as true.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: vito687 on Mon, 02 May 2016, 15:49:20
(http://uploads.tapatalk-cdn.com/20160502/6800d965137cf4587d4c02fcdd1d2f77.jpg)And I'm Judy
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Mon, 02 May 2016, 17:06:07
Found the PEP 8 link: https://mail.python.org/pipermail/python-dev/2016-April/144205.html
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Mon, 02 May 2016, 20:31:09
"Knuth said it"

I'm okay with that reasoning.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: daerid on Mon, 02 May 2016, 22:12:53
*wave*

~20 year vet here, most langs except things like Erlang/Haskell/Lisp
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: DamienG on Mon, 02 May 2016, 22:22:07
Another vet here - have touched Delphi, C++, Z80 assembler, Scala, Python, Groovy, Typescript, Javascript, VB! and various Basic's etc. over the years.

Most of my professional career has been in C# though - worked at MS for a while on bits of the .net framework which was cool.

Currently Javascript/Node/Coffeescript working on the Atom editor.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Tue, 03 May 2016, 00:21:10
Another vet here - have touched Delphi, C++, Z80 assembler, Scala, Python, Groovy, Typescript, Javascript, VB! and various Basic's etc. over the years.

Most of my professional career has been in C# though - worked at MS for a while on bits of the .net framework which was cool.

Currently Javascript/Node/Coffeescript working on the Atom editor.

That's impressive!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: ileben on Tue, 10 May 2016, 06:58:03
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Can you run VS on a Mac?

Will it run under Linux?

:p

It doesn't matter because, unless you are writing an app specifically for Mac or Linux, you can write code mostly on Windows, with occasional detour to other platforms to implement platform-specific code and test it. If you are doing any kind of cross-platform programming, the only sensible choice (if you care about productivity at all), is to do most of the coding and debugging on Windows in VS. There are also many third-party SDKs/toolkits that will let you target and deploy your solution on multiple platforms, straight from VS (especially true if you work on mobile apps these days).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: the_marsbar on Wed, 11 May 2016, 09:02:44
MATLAB every day (audio signal processing).

I'll be taking a Python course next week, should be interesting, although I'm sure I'm going to miss some of the toolboxes available in MATLAB.

Previously I've touched upon: C/C++, Java and Ojective-C. I also had a realtime DSP course where we had to do assembly programming - that was quite interesting, although mostly not very useful.

I really want to get into emacs.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Wed, 11 May 2016, 09:45:15
C, C++, C#, Python

Visual Studio is the best IDE period. There is nothing that compares at all when it comes to debugging, stepping through code, inspecting values, and modifying memory and/or code in the middle of the run.

Also, programming without an IDE debugger is possible, but simply a waste of time when IDE is an option.

Can you run VS on a Mac?

Will it run under Linux?

:p

It doesn't matter because, unless you are writing an app specifically for Mac or Linux, you can write code mostly on Windows, with occasional detour to other platforms to implement platform-specific code and test it. If you are doing any kind of cross-platform programming, the only sensible choice (if you care about productivity at all), is to do most of the coding and debugging on Windows in VS. There are also many third-party SDKs/toolkits that will let you target and deploy your solution on multiple platforms, straight from VS (especially true if you work on mobile apps these days).

Good response.  Another good response.  .NET Core (https://www.dotnetfoundation.org/netcore). :P

http://www.theregister.co.uk/2016/05/09/microsoft_dot_net_core/

The loss of AppDomains is a big hit for me personally, but it looks like they're doing due diligence to make it just work.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Wed, 11 May 2016, 21:50:49
MATLAB every day (audio signal processing).

I'll be taking a Python course next week, should be interesting, although I'm sure I'm going to miss some of the toolboxes available in MATLAB.

Previously I've touched upon: C/C++, Java and Ojective-C. I also had a realtime DSP course where we had to do assembly programming - that was quite interesting, although mostly not very useful.

I really want to get into emacs.

http://www.pyzo.org/python_vs_matlab.html
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: NewbieOneKenobi on Thu, 12 May 2016, 21:30:20
Nothing fancy these days, just HTML/CSS/PHP. Twenty years ago was a different story. ;)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Fri, 13 May 2016, 00:24:13
The author posted a 50% off code on twitter  :thumb: AUTHD

(https://farm8.staticflickr.com/7114/26350171894_3efc28c2fe_c.jpg) (https://flic.kr/p/G9tw5w)

http://shop.oreilly.com/product/0636920024149.do (http://shop.oreilly.com/product/0636920024149.do)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: the_marsbar on Fri, 13 May 2016, 02:46:50
Why not place the keyboard on top of the Mac's keyboard? It works great IMO (and you don't have to bring your trackpad).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Fri, 13 May 2016, 05:12:53
Why not place the keyboard on top of the Mac's keyboard? It works great IMO (and you don't have to bring your trackpad).


Hmmm... I will try that out.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: mteinum on Sat, 14 May 2016, 05:36:51
Mac upgraded  ;D

(https://farm8.staticflickr.com/7746/26400640253_dea505bd7d_c.jpg) (https://flic.kr/p/GdWbyD)
Electrostatic Capacitive System (https://flic.kr/p/GdWbyD) by Morten Teinum (https://www.flickr.com/photos/mortenteinum/), on Flickr

Just need a really short USB cable (or the BT edition)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 18 May 2016, 06:43:14
What language(s) do you use? Why?
Erlang, because there's a ****ton of legacy code. And we know it.

Cool so Erlang actually IS used in real situations for real projects.
What are you even talking about? Is it hard to find the actual Erlang users through a simple web search?

Perhaps I'm misinformed then. I thought erlang was more of a niche language. I've never really used it myself, except for toying around a bit.
Ever heard of that thing called WhatsApp?

So WhatsApp is written in erlang... wow.

Found it: "In using Erlang, WhatsApp is part of a larger push towards programming languages that are designed for concurrency, where many processes run at the same time."

Source: http://www.wired.com/2015/09/whatsapp-serves-900-million-users-50-engineers/ (http://www.wired.com/2015/09/whatsapp-serves-900-million-users-50-engineers/)

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Wed, 18 May 2016, 06:45:27
Found the PEP 8 link: https://mail.python.org/pipermail/python-dev/2016-April/144205.html

That's a nice change though "Knuth said it" is a bit... weird. Even if it is a god in the python community.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: AceRuckus on Wed, 18 May 2016, 23:16:41
Java, C/C++, machine, bash
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Thu, 19 May 2016, 05:36:32
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Thu, 19 May 2016, 06:00:36
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Thu, 19 May 2016, 06:10:09
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.

That's why you use the JVM, but avoid java itself: all the benefits, none of the silliness!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Thu, 19 May 2016, 09:18:42
Yes, you can use Scala or Clojure and be one step closer to suicide.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: AceRuckus on Thu, 19 May 2016, 10:33:41
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.

That's why you use the JVM, but avoid java itself: all the benefits, none of the silliness!
It's probably one of the more interesting languages I know. Compared to scripting, it's a headache. Too many libraries lol
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Thu, 19 May 2016, 21:51:20
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.

That's why you use the JVM, but avoid java itself: all the benefits, none of the silliness!

You mean with something like Jython?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: algernon on Fri, 20 May 2016, 01:52:02
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.

That's why you use the JVM, but avoid java itself: all the benefits, none of the silliness!

You mean with something like Jython?

Yep, or Scala, Clojure, or any of the other JVM languages.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: thefebruaryman on Fri, 20 May 2016, 02:16:29
I do quite a some programming at work. Mostly with python for data work with pandas. I use pycharm and vim. And have a hate for visual fox pro!!!!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Fri, 20 May 2016, 09:10:45
I do quite a some programming at work. Mostly with python for data work with pandas. I use pycharm and vim. And have a hate for visual fox pro!!!!
Did you mean that you use PyCharm with IdeaVIM?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Fri, 20 May 2016, 14:45:01
I do quite a some programming at work. Mostly with python for data work with pandas. I use pycharm and vim. And have a hate for visual fox pro!!!!

Have you used VS with python extensions?  That's what I'm using now, and wanted to compare/contrast the two.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Brammm87 on Sat, 21 May 2016, 08:44:02
I used to do mostly PHP at work, but our tech lead doesn't like it very much and tried to make us all switch to Dart. Worked with it for 3 days with a coworker, went back to PHP. Writing Dart feels like writing PHP 4...
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 21 May 2016, 19:25:52
I had to give up alcohol because of the health issues, so the new substance to **** up my brain is Frege, which is a Haskell dialect on the JVM.

https://github.com/Frege/frege
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: thefebruaryman on Tue, 24 May 2016, 02:20:57
I do quite a some programming at work. Mostly with python for data work with pandas. I use pycharm and vim. And have a hate for visual fox pro!!!!
Did you mean that you use PyCharm with IdeaVIM?

nah. Never got round to putting the key bindings on pycharm. I use vim for some editing after I have coded and when working on servers.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 24 May 2016, 13:13:01
Java, C/C++, machine, bash

I should try Java again sometime. But last time I checked it has grown out of hand with the programming constructs added to it that my head exploded.

The amount of boilerplate you need in Java to do simple things is a bit silly sometimes.

That's why you use the JVM, but avoid java itself: all the benefits, none of the silliness!

That's a good point actually. Never thought of it that way.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 24 May 2016, 13:13:53
Yes, you can use Scala or Clojure and be one step closer to suicide.

Why suicide? Issues with the implementation of those languages on top of JVM or something? Or linking java libraries?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iLLucionist on Tue, 24 May 2016, 13:16:36
I used to do mostly PHP at work, but our tech lead doesn't like it very much and tried to make us all switch to Dart. Worked with it for 3 days with a coworker, went back to PHP. Writing Dart feels like writing PHP 4...

Going to python/ruby/node.js I can see, but from PHP to Dart? Is like going from PHP back to perl hahaha. Also that I have to use JS on the front-end is bad enough. I don't see why some people are trying so hard to bring JS over to the back-end / server part. Fine, concurrency (is that truly the case with node?), but for the rest. I really hate javascript, even after having internalized "Javascript The Good Parts".
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Peripheral Prophet on Thu, 30 June 2016, 12:07:04
Not a programmer, but am definitely starting to get my feet wet I suppose... Learning HTML, CSS, and JS, and there is still a ton of questions Im looking for answers for..

Id like to do something in webdev some day, but I was told to get my bearings on those 3 first to get a better understanding :)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pr0ximity on Fri, 01 July 2016, 05:30:45
Not a programmer, but am definitely starting to get my feet wet I suppose... Learning HTML, CSS, and JS, and there is still a ton of questions Im looking for answers for..

Id like to do something in webdev some day, but I was told to get my bearings on those 3 first to get a better understanding :)

 Learning HTML, CSS, and JS is just fine, but personally I think they can give you a very skewed view of what "web development" entails (depending on how you define it, it's a fairly broad field). I would say try to keep in mind that while client-side apps are getting bigger and bigger, there is still a lot going on server-side, and there are much cleaner languages than JS for engineering server-side systems. I think JS can be a tough language to start with when compared to something like Python, and the Python community's pragmatism is better documented than the cluster**** of a JS community (no offense, I love the JS community's rapid iteration).

I'd recommemd keep doing what you're doing, but definitely experiment outside of front-end client-side stuff, it's a wacky world that's not super friendly to newcomers and I think partially explains why the self-taught front-end-focused engineers I've met have shaky fundamentals. I am of course generalizing a bit, but programming fundamentals are very translatable between languages.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: UsualSuspectXXX on Fri, 01 July 2016, 06:20:51
pr0ximity makes a few very good points.

Putting a focus on learning the fundamentals will help you greatly when moving between languages or picking up a few more. All languages have their own syntax qwerks but the fundamentals are anyways the same.

Javascript is very broad in and of itself. There's pure js, jQuery, AngularJS, NodeJS, and a ton more. They all carry their own benefits, drawbacks, and syntax changes. You can use JS as server side code, but there are better things for that.

Lastly, I use JS routinely at work but because it is so vast (and hacky), I think it would prove difficult to really learn the fundamentals with it.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Peripheral Prophet on Fri, 01 July 2016, 08:19:07
Not a programmer, but am definitely starting to get my feet wet I suppose... Learning HTML, CSS, and JS, and there is still a ton of questions Im looking for answers for..

Id like to do something in webdev some day, but I was told to get my bearings on those 3 first to get a better understanding :)

 Learning HTML, CSS, and JS is just fine, but personally I think they can give you a very skewed view of what "web development" entails (depending on how you define it, it's a fairly broad field). I would say try to keep in mind that while client-side apps are getting bigger and bigger, there is still a lot going on server-side, and there are much cleaner languages than JS for engineering server-side systems. I think JS can be a tough language to start with when compared to something like Python, and the Python community's pragmatism is better documented than the cluster**** of a JS community (no offense, I love the JS community's rapid iteration).

I'd recommemd keep doing what you're doing, but definitely experiment outside of front-end client-side stuff, it's a wacky world that's not super friendly to newcomers and I think partially explains why the self-taught front-end-focused engineers I've met have shaky fundamentals. I am of course generalizing a bit, but programming fundamentals are very translatable between languages.

pr0ximity makes a few very good points.

Putting a focus on learning the fundamentals will help you greatly when moving between languages or picking up a few more. All languages have their own syntax qwerks but the fundamentals are anyways the same.

Javascript is very broad in and of itself. There's pure js, jQuery, AngularJS, NodeJS, and a ton more. They all carry their own benefits, drawbacks, and syntax changes. You can use JS as server side code, but there are better things for that.

Lastly, I use JS routinely at work but because it is so vast (and hacky), I think it would prove difficult to really learn the fundamentals with it.

Thank you both for your advice and insights, definitely taking it to heart..
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: needslipo on Wed, 13 July 2016, 12:30:18
I program in bash, python, java, scala and hql (if that can even be considered a language). I'm a hadoop dev. For software I use IntelliJ, Sublime Text 3 and iTerm.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Brammm87 on Fri, 15 July 2016, 15:16:37
I program in bash, python, java, scala and hql (if that can even be considered a language). I'm a hadoop dev. For software I use IntelliJ, Sublime Text 3 and iTerm.

Heh... we could use you. Our hadoop is a mess.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: MajorKoos on Fri, 15 July 2016, 17:20:42
Throwing my hat in the ring because why not.

At work it's all C++, C# and PowerShell.
 - DevOps, IoT and public/private cloud type stuff are the flavor of the day.
 - Also write a ton of code for ILM/FIM.
Not a fan of VB, but can as the need arises.
Used to do ASM, Modula 2 and Basic back before the rinderpest.

Tools of choice are Visual Studio and Visual Studio Code.
Also a big fan of ReSharper.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: Hypersphere on Fri, 15 July 2016, 17:54:53
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: MajorKoos on Fri, 15 July 2016, 17:57:01
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Lots of interest in R and ML now days.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Fri, 15 July 2016, 18:25:04
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Lots of interest in R and ML now days.
There's barely any interest in ML these days unless you abbreviate Matlab to ML.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: MajorKoos on Fri, 15 July 2016, 19:24:38
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Lots of interest in R and ML now days.
There's barely any interest in ML these days unless you abbreviate Matlab to ML.

Barely any interest in machine learning?
...
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Sat, 16 July 2016, 05:37:58
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Lots of interest in R and ML now days.
There's barely any interest in ML these days unless you abbreviate Matlab to ML.

Barely any interest in machine learning?
...

This thread is more about the languages you know, rather than the use to which you put those languages.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: MajorKoos on Sat, 16 July 2016, 08:09:05
I am not a programmer, but I do a bit of programming with the following:

Matlab

Python

R

Yanaconda (in YASARA)

Lots of interest in R and ML now days.
There's barely any interest in ML these days unless you abbreviate Matlab to ML.

Barely any interest in machine learning?
...

This thread is more about the languages you know, rather than the use to which you put those languages.

It's what one does with that code that gives the conversation context, builds one's personal brand and puts food on the table. 
A "non-programmer who does a bit of R, python, Matlab and Yanaconda" whiffs of big data to me. 
Context matters.

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 16 July 2016, 10:38:19
Yeah, context matters. When you speak about languages, ML is this (https://en.wikipedia.org/wiki/ML_(programming_language)).
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: kolec94 on Sat, 16 July 2016, 10:47:46
C# and visual basic mostly
working on c, c++, and arduino
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: MajorKoos on Sat, 16 July 2016, 11:19:53
Yeah, context matters. When you speak about languages, ML is this (https://en.wikipedia.org/wiki/ML_(programming_language)).

Lol - very cool.
Good schwartz!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: kolec94 on Sat, 16 July 2016, 12:00:20
any advice on the best way to learn python quickly?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 16 July 2016, 12:34:08
any advice on the best way to learn python quickly?
http://www.learnpython.org/
https://docs.python.org/2/tutorial/
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: cheebs on Sat, 16 July 2016, 12:38:35
Yet another programmer here.

I use Ruby, C, C++ and recently a bit of Elixir.  Ruby because, well, I think it needs no introduction or explanation.  C for language extensions and other obvious applications, including system programming.  C++ for game programming.  Elixir is very fast, and takes a lot of good things from Ruby, so it's a good go-to when I need to use a functional language.

I avoid using IDEs.  I've seen some developers that are just absolute wizards at navigating the various menus and tools and ****, but to me it just makes something so simple unnecessarily complex.  I use neovim together with tmux.

Huh.  It's hard to say I "hate" a particular language.  Each has its applications.  However, given the freedom of choice, I would almost never choose to use Java.  It's just so dated, verbose, and its performance is quickly being outclassed.  I understand it is desirable in some situations, but it seems as though it's used so often in situations that do not call for it, and is simply chosen for no reason other than because the developer is familiar with it.

EDIT: Honorable mentions. Scala, Rust.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 16 July 2016, 13:19:26
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: cheebs on Sat, 16 July 2016, 17:11:41
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?

Yeah, so what's wrong with BEAM?  Elixir is fast compared to others in its class, particularly Ruby, PHP and others. Obviously it's not going to outperform C.  As for your second question, Scala for one.  Runtime performance is nearly the same and code can be written with greater efficiency in Scala.  I don't mean to suggest that there's a ton of other OOP languages giving Java the smackdown in benchmarks, I mean it's being outclassed by this new generation of expressive languages that offer similar performance.  My point is, if you're that concerned with runtime efficiency, why the **** are you using Java?  And if you're not that concerned with runtime, then really, WHY the **** are you using Java?  I'm aware there are use cases that fall in between those questions, but from my experience, it's a much smaller set than the number of applications out there using Java "just because".
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 16 July 2016, 18:25:35
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?

Yeah, so what's wrong with BEAM?  Elixir is fast compared to others in its class, particularly Ruby, PHP and others.
Ah yes, if you compare Elixir with the interpreted languages, then it might be faster.

Java's performance being outclassed? By what?

I mean it's being outclassed by this new generation of expressive languages that offer similar performance
Ah, so, by 'performance' you meant 'expressiveness'.

My point is, if you're that concerned with runtime efficiency, why the **** are you using Java?
Because we are also concerned about automatic memory management for example.

And if you're not that concerned with runtime, then really, WHY the **** are you using Java?
Because we are concerned about libraries for example.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: cheebs on Sat, 16 July 2016, 18:44:34
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?

Yeah, so what's wrong with BEAM?  Elixir is fast compared to others in its class, particularly Ruby, PHP and others.
Ah yes, if you compare Elixir with the interpreted languages, then it might be faster.

Java's performance being outclassed? By what?

I mean it's being outclassed by this new generation of expressive languages that offer similar performance
Ah, so, by 'performance' you meant 'expressiveness'.

My point is, if you're that concerned with runtime efficiency, why the **** are you using Java?
Because we are also concerned about automatic memory management for example.

And if you're not that concerned with runtime, then really, WHY the **** are you using Java?
Because we are concerned about libraries for example.

Yes, I'm comparing elixir to interpreted languages. Because they offer roughly the same functionality and features to the developer.  Don't restrict language choice based on whether it's compiled/interpreted if you don't have to.  C isn't used for web applications because it's compiled, it's just because it's an absolute pain in the ass to use that way.  Writing a web application in elixir/Phoenix is just as easy as ruby/rails, and more performant.  Writing a web application in Java is a nightmare by comparison. And no, I meant performance.  Java is not the only performant language with a GC..  Which library support are you concerned about?  What are you building?  These are important questions when deciding which language to use.  I think you'd be surprised how many new languages have solid libraries available.


Sent from my iPhone using Tapatalk
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Sat, 16 July 2016, 19:03:37
And no, I meant performance
All right. Which languages actually outclass Java then?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: davkol on Sun, 17 July 2016, 02:52:20
It would help to be clear, whether the talk is about JVM, or about the language.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: rowdy on Sun, 17 July 2016, 03:14:08
I've also used Jython for one project, on a client's server where I can't install Python but Java is already there.

Works well, does what I need it to.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: TacticalCoder on Mon, 18 July 2016, 19:25:13
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?



GMP for big integers number crunching does beat the crap out of Java. I know because I'm a long time Java dev (and I mostly love Java) and I've been forced to ditch out my long forgotten C skill to interface with GMP for a project I'm working on. It's basically a CPU bound, non parallelizable (so GPUs are of no use in my case), number crunching task involving very big integers. C with the GMP lib is about eight times faster than Java's BigInteger in my case.


Of course I can call GMP from Java but: a) that's not really Java anymore and b) C+GMP is still faster (I know because I tried).


Otherwise Ur/Web + Postgres is very fast at serving dynamic webpages, way faster than Java. Still Java does fare very very well in this benchmark (lies, damn lies, and benchmarks, but still very interesting):


https://www.techempower.com/benchmarks/ (https://www.techempower.com/benchmarks/)


Java / JVMs holds three of the top six spots so definitely not bad: very impressive I'd even say. Basically beating everything besides the language specifically crafted for that usecase (Ur/Web).


There are other domains where other people will have examples of languages being a better fit than Java (I have a family-relative who owns a company selling broadcasting solutions to asian TV networks: in his case it's a mix of proprietary hardware and C/C++ codebase and he tells me Java simply is too slow for his purposes) but that BigInteger thing is one place where I got personally badly hurt by Java's slowness.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Mon, 18 July 2016, 19:37:59
Elixir is fast? Come on, it runs on the Erlang VM. Java's performance being outclassed? By what?



GMP for big integers number crunching does beat the crap out of Java. I know because I'm a long time Java dev (and I mostly love Java) and I've been forced to ditch out my long forgotten C skill to interface with GMP for a project I'm working on. It's basically a CPU bound, non parallelizable (so GPUs are of no use in my case), number crunching task involving very big integers. C with the GMP lib is about eight times faster than Java's BigInteger in my case.


Of course I can call GMP from Java but: a) that's not really Java anymore and b) C+GMP is still faster (I know because I tried).


Otherwise Ur/Web + Postgres is very fast at serving dynamic webpages, way faster than Java. Still Java does fare very very well in this benchmark (lies, damn lies, and benchmarks, but still very interesting):


https://www.techempower.com/benchmarks/ (https://www.techempower.com/benchmarks/)


Java / JVMs holds three of the top six spots so definitely not bad: very impressive I'd even say. Basically beating everything besides the language specifically crafted for that usecase (Ur/Web).


There are other domains where other people will have examples of languages being a better fit than Java (I have a family-relative who owns a company selling broadcasting solutions to asian TV networks: in his case it's a mix of proprietary hardware and C/C++ codebase and he tells me Java simply is too slow for his purposes) but that BigInteger thing is one place where I got personally badly hurt by Java's slowness.
While all of that is true, it's not correct to say that Java's performance is being outclassed by C. Java had never been the C/C++ performance rival  :p
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: TacticalCoder on Mon, 18 July 2016, 19:41:58
There's barely any interest in ML these days unless you abbreviate Matlab to ML.

You again!  ;)


There's quite some interest in Haskell (including usage at some very big companies, like FaceBook) and definitely a sizeable community around it. ELM also seems to be gaining at least some traction. And there's interest in F# which I think was heavily influenced by ML (and offers some ML syntax). OCaml is also seeing some industry use (there's the Jane Street Capital OCaml success story).


So for "ML as a family of language", I think there's still quite some interest.

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Tue, 19 July 2016, 08:08:01
There's quite some interest in Haskell (including usage at some very big companies, like FaceBook) and definitely a sizeable community around it. ELM also seems to be gaining at least some traction. And there's interest in F# which I think was heavily influenced by ML (and offers some ML syntax). OCaml is also seeing some industry use (there's the Jane Street Capital OCaml success story).


So for "ML as a family of language", I think there's still quite some interest.
Haskell is not in ML family.

Elm is inspired by Haskell.

F# is basically Ocaml stripped off its most powerful features (functors and parameterized modules). There's little interest in F# partly because Microsoft didn't feel the need to push it and partly because for long time it was tied to Windows.

I so much like the posts a-la "Ocaml is used in industry, see for example Jane Street success story". It's always Jane Street and never anything else. Well, Xen was partly written in Ocaml. Coq, Unison and MLDonkey  are written in Ocaml. That's it.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: TacticalCoder on Wed, 20 July 2016, 12:38:26
I so much like the posts a-la "Ocaml is used in industry, see for example Jane Street success story". It's always Jane Street and never anything else. Well, Xen was partly written in Ocaml. Coq, Unison and MLDonkey  are written in Ocaml. That's it.

I know, that's why I wrote "some industry use": it's always that story that comes out indeed.

I've never done any ML but was pretty sure Haskell was in the ML family: I know some Haskell and when I see ML code it doesn't look totally alien to me. I see here that the person says: "Haskell is inevitably an ML (descending from Lazy ML) derivative".


Don't know how good that answer is but Haskell and ML seems to share quite some similarities and not just (part of) the syntax:


https://www.quora.com/What-are-the-key-differences-between-Haskell-and-Standard-ML (http://https://www.quora.com/What-are-the-key-differences-between-Haskell-and-Standard-ML)


I also thought that ELM, based on Haskell, had its name chosen as a play on "ML".


Once again: I've never done any ML so I don't know.


In any case: always nice to talk about programming with you!


P.S: funnily enough then I know some Haskell which is "not really a ML" and quite some Clojure which is "not really a Lisp" depending on who you ask (thankfully I know a tiny bit of elisp, so the day is saved!)
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Wed, 20 July 2016, 13:52:44
Why I think Haskell is not in ML family is because it's pure. I don't know any ML language which is pure as well. Also, compared to ML's, Haskell's syntax is a bit different and the language lacks modules (and has typeclasses). These are the most significant differences, from the top of my head.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pmck on Mon, 22 August 2016, 05:42:58
I unfortunately work with JS. Just got a job in Ruby which I can't wait to start.

I really miss my old Java role compared to JS. I really do hate JS.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: CSCoder4ever on Mon, 22 August 2016, 13:33:06
Well it's been a while, a rough semester last, and a rough semester this one will likely be too. But anyhow, I feel like C is my goto language because of all the power I have! C# is fairly nice, especially since its now more useful on more platforms than just simply windows!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Mon, 22 August 2016, 14:59:18
C# is fairly nice, especially since its now more useful on more platforms than just simply windows!
dat telemetry tho


I really miss my old Java role compared to JS. I really do hate JS.
The good thing about JS is that you don't have to write it in JS!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: pmck on Mon, 22 August 2016, 15:02:06
Quote
The good thing about JS is that you don't have to write it in JS!

Tell that to my dev manager!


Sent from my Nexus 6P using Tapatalk

Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: joey on Mon, 22 August 2016, 15:05:08
I've started to look at Rust, to see if it would be nice to write keyboard firmware in.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 22 August 2016, 15:16:48
C# is fairly nice, especially since its now more useful on more platforms than just simply windows!
dat telemetry tho

https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: CSCoder4ever on Mon, 22 August 2016, 17:52:06
C# is fairly nice, especially since its now more useful on more platforms than just simply windows!
dat telemetry tho

https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/

I noticed that, mono it is then!
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 22 August 2016, 20:49:13
C# is fairly nice, especially since its now more useful on more platforms than just simply windows!
dat telemetry tho

https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/

I noticed that, mono it is then!

That says that it is not intentional.  Read it.  It was left in during the debug phase, and will be removed.  Also has the instructions to remove it before then.  It was much ado about nothing.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Mon, 22 August 2016, 20:53:28
It's still there.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Mon, 22 August 2016, 21:42:46
It's still there.

If you read the reddit replies, especially from Steve Carroll, then you would know that Microsoft stated that they would remove this from VC in Update 3.

If you look at the vcruntime source, then you can see the changes in sources. The most obvious ones are two functions have been removed from __scrt_common_main_seh in the file exe_common.inl. Then in initialization.cpp, the functions __vcrt_initialize and __vcrt_uninitialize both have the telemetry provider calls removed. Although interestingly they still provide the notelemetry.obj file.

So while it is nice that you are interested in this and are spreading the word, could you verify the facts before you continue to spread it?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Tue, 23 August 2016, 09:25:49
Checking the facts...

https://docs.microsoft.com/en-us/dotnet/articles/core/tools/telemetry

Looks like it's still there.

The code?

https://github.com/dotnet/coreclr/search?utf8=%E2%9C%93&q=telemetry
https://github.com/dotnet/cli/search?utf8=%E2%9C%93&q=telemetry&type=Code

Yep, still there.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Tue, 23 August 2016, 10:35:14
The code is still there because people use it to write to ETL.  Is it automatically linked?  Your sources don't show that.  That's the reason I pointed to the areas I did.  The problem before wasn't that it was there... it was being automatically linked to the produced executables.  It doesn't matter that you have the ability, you have to have the choice.  That was the change.

From your MS Link:

Quote
You can opt-out of the telemetry feature by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT (for example, export on macOS/Linux, set on Windows) to true (for example, “true”, 1).

Does that make sense?  Or am I misinterpreting what you were saying before that telemetry should never be an option?
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Tue, 23 August 2016, 12:09:21
Or am I misinterpreting what you were saying before that telemetry should never be an option?
I think it should be at least opt-in, not opt-out.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Tue, 23 August 2016, 16:19:05
Or am I misinterpreting what you were saying before that telemetry should never be an option?
I think it should be at least opt-in, not opt-out.

But your statements seem to imply that there is no opt-out, and it's still not obvious.  Neither one of those are true.  They have made the changes that they said they would.

Whether it is by default opt in or opt out is a different discussion.  For what they want to do, i.e. get anonymous telemetry on the tools usage, if they made it opt in, they would probably get no information.  Not saying it's right... just saying the probable rationale on it being opt out.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: iri on Tue, 23 August 2016, 16:34:00
Or am I misinterpreting what you were saying before that telemetry should never be an option?
I think it should be at least opt-in, not opt-out.

But your statements seem to imply that there is no opt-out
Don't worry, I know how open source works.
Title: Re: Any programmers on geekhack? What language(s) do you use?
Post by: chuckdee on Tue, 23 August 2016, 18:40:24
Or am I misinterpreting what you were saying before that telemetry should never be an option?
I think it should be at least opt-in, not opt-out.

But your statements seem to imply that there is no opt-out
Don't worry, I know how open source works.
Where did that even come from.   I didn't imply you didn't know anything.   I specifically said that your comments are misleading.   Yes,  there was a problem,  and after confronted with it,  they said they were going to change it to allow you to disable it.

That's not what you said.