DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

View Poll Results: favorite programming language?
Asm 19 11.95%
C 58 36.48%
C++ 33 20.75%
C# 7 4.40%
Java 14 8.81%
Javascript 5 3.14%
Perl 28 17.61%
PHP 31 19.50%
Ruby 12 7.55%
Python 37 23.27%
Shell 29 18.24%
Awk 14 8.81%
Others: Tcl, Erlang, Haskell, Ocaml, D, Forth ... 21 13.21%
Multiple Choice Poll. Voters: 159. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 2nd March 2015
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 131
Default

I'm thinking of trying to learn to use Perl - though I'm only going to do it for no other reason than to try & keep my old grey cells alive & active.
__________________
Linux since 1999, & now an OpenBSD user.
Reply With Quote
Old 2nd March 2015
Oko Oko is offline
Banned
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,087
Default

Quote:
Originally Posted by hanzer View Post

I'm surprised the OpenBSD community [seemingly] has no interest in Ada.
Could you please explain it a bit? I personally always great deal of interest in strongly typed languages.
Reply With Quote
Old 3rd March 2015
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
cybernetic organism
 
Join Date: Oct 2013
Location: {cyborg, psyborg, sciborg} [non-]space
Posts: 191
Default

Quote:
Originally Posted by Oko View Post
Could you please explain it a bit? I personally always great deal of interest in strongly typed languages.
Video - Ada, Past Present and Future
Book - Ada Distilled

Gnat, GCC's Ada frontend, is available /usr/ports/lang/gcc but I haven't tested it extensively. The gcc-aux compiler is [unfortunately] not in the ports tree and it looks like it is no longer built/maintained for OpenBSD.
Reply With Quote
Old 3rd March 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,258
Default

Quote:
Originally Posted by Oko View Post
Could you please explain it a bit? I personally always great deal of interest in strongly typed languages.
Ada is the result of an effort to standardize the programming language used for all DoD (Department of Defense) projects back in the 1970's. With very large-scale goals, Ada compilers were huge, & required official validation -- meaning that they could not be officially be called Ada compilers without passing an official battery of tests. The intent was that Ada code successfully compiled on one validated compiler should compile & run with the same behavior on any other platform using an equally validated compiler.

However, these goals were not completely realized. The defense industry didn't readily accept Ada, & while there were a number of projects successfully using the language, use of other languages perpetuated -- partially because Ada compilers, having to be validly support all aspects of the language specification were large -- impractically so for nominal hardware platforms.

Secondly, Ada was intended for programming in the large. While Ada sports many of the features found in other languages today, it wasn't fully object-oriented (using today's accepted definition...) until Ada95. While many might consider this of marginal importance, it put Ada behind other popular languages at the time.

Not speaking for the OpenBSD community, but in my opinion, the overhead of compiler validation & compiler size lessened the attractiveness of the language in comparison to what could be found in other readily available alternatives.

Otherwise, Ada is not a bad language; it has some interesting checks. It still fills the niche of a number of projects which are usually government related.

More information can be found on Wikipedia:

http://en.wikipedia.org/wiki/Ada_%28...ng_language%29

Last edited by ocicat; 3rd March 2015 at 11:28 AM. Reason: correct spelling
Reply With Quote
Old 3rd March 2015
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,496
Default

Niklaus Wirth, the father of Pascal, foresaw that Ada would be to complex. That is why he developed Modula-2 as an simpler Ada alternative.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 5th March 2015
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
cybernetic organism
 
Join Date: Oct 2013
Location: {cyborg, psyborg, sciborg} [non-]space
Posts: 191
Default

Quote:
Originally Posted by Oko View Post
Quote:
Originally Posted by hanzer View Post
I'm surprised the OpenBSD community [seemingly] has no interest in Ada.
Could you please explain it a bit?
Hmm, I suppose that you might have been asking about the lack of interest in Ada on OpenBSD. The general BSD/Ada situation was laid out nicely a few years ago on a FreeBSD mailing list:

Improving Ada support on FreeBSD and in the ports system (2009)
Quote:
PROBLEM 1. Lack of packages (as shown above)
PROBLEM 2. No choice in the use of compiler
PROBLEM 3. Compiler version chaos and lack of architecture support
PROBLEM 4. Lack of a debugger
PROBLEM 5. Lack of a consistent policy for Ada packages
The author of that email went to work on the problems and has made tremendous progress in bringing a coherent set of Ada tools and libraries to FreeBSD, DragonFlyBSD, and NetBSD.

FreeBSD Quarterly Status Report (2013)
Quote:
At this point, it looks like FreeBSD (shared with DragonFly via DPorts) has taken the crown from Debian as the recognized best Ada development platform. The FreeBSD versions of the software are more recent and the Ports Collection has ports not available on Debian, such as LibSparkCrypto, the Matreshka library, and the Ahven unit tester.
It looks like there are 54 FreeBSD ports related to his project.

I suspect he was going to do something similar for OpenBSD but it didn't happen somehow.

Last edited by hanzer; 5th March 2015 at 09:18 PM. Reason: phrasing
Reply With Quote
Old 6th March 2015
ibara's Avatar
ibara ibara is offline
AsiaBSDCon 2016 Speaker
 
Join Date: Jan 2014
Posts: 403
Default

Quote:
Originally Posted by hanzer View Post
I suspect he was going to do something similar for OpenBSD but it didn't happen somehow.
I am unsure how you came to that conclusion.
Reply With Quote
Old 6th March 2015
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
cybernetic organism
 
Join Date: Oct 2013
Location: {cyborg, psyborg, sciborg} [non-]space
Posts: 191
Default

Quote:
Originally Posted by ibara View Post
I am unsure how you came to that conclusion.
That's cool. John gave a talk at FOSDEM 2014 - Ada in *BSD. Page 23 might be interesting:

Quote:
At last check, GNAT builds almost perfectly on OpenBSD
with the DragonLace patches. It only fails to detect
running out of stack space.

There was never any interest shown for my version
GNAT in OpenBSD, esp. as a maintainer is required.

It would be trivial to port given two examples (ports &
pkgsrc) already exist, as well as a functional bootstrap.

In official repo, there are FSF GNAT 4.6.4 and 4.8.1 for
i386 and amd64. The results of the testsuite are
unknown; no DragonLace patches were used AFAIK.
Reply With Quote
Reply

Tags
programming, programming language

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite Programming Tools JMJ_coder Programming 20 19th January 2015 07:56 AM
your 3 favorite games welkin FreeBSD Ports and Packages 17 5th June 2010 08:26 PM
Best Web Application Language JMJ_coder Programming 24 25th November 2008 12:25 PM
The language here scottro Feedback and Suggestions 11 19th May 2008 11:54 PM


All times are GMT. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick