RetroBASIC

Offtopic => Offtopic => Topic started by: Tomaaz on November 14, 2016, 09:39:30 PM

Title: Short summary
Post by: Tomaaz on November 14, 2016, 09:39:30 PM
As some of you may remember, trying and testing different programming languages was what interested me the most for last couple of years. This has come to an end, now. :) During my "research" I have tried Blassic, Yabasic, SdlBasic, FreeBasic, BaCon, PureBasic, EGSL, NaaLaa, Lua, Python, Ruby, Julia, Euphoria, Pike, Newlisp, Ring, Tcl, PHP, JavaScript, Processing, QB64, Nim, FreePascal, Go and probably something else (what I don't remember at the moment). I have also stopped doing any web development and, at the moment, programming is 100% hobby for me (before, it was 90% hobby and 10% business :) ). After trying all the languages from Blassic to Go, I have decided to stick with three of them. The first one is Python, because it's an overall winner. It's easy, well documented with massive community. The second one is Ruby, cause it's my personal favourite (love the syntax!). The third is BaCon. It's the best BASIC dialect, IMHO. Why? It perfectly combines the old with the new. It really feels like BASIC, but you can do modern things with it.

I'm pretty sure that majority of users here are not interested either in these languages or in my opinion about them, but if anyone would like to discuss any of them, I'm happy to take part in such a discussion.

EDIT Wow, I forgot about Perl. ;D Also, I should have put Ruby as the first one and Python as the second. ;)
Title: Re: Short summary
Post by: Richly on November 14, 2016, 09:57:14 PM
Tomaaz, why is Lua not in your top 3?
Title: Re: Short summary
Post by: Tomaaz on November 14, 2016, 10:13:35 PM
Lua is on 4th place. ;D For playing with simple examples Lua is as nice as Ruby. The problems start when you're tying to use it for something more complex. Of course, the reason for that is the fact that Lua is meant to be a small embeddable language and is not designed for the same purposes Python or Ruby are. Also, many libraries for Lua have been abandoned and don't work with newer versions of Lua. However, if I was interested in 2d games development, I would choose LOVE without a doubt. It's extremely easy to learn and use, has solid user base and it's in active development. Plus it has an Android version.
Title: Re: Short summary
Post by: Tomaaz on November 14, 2016, 10:24:34 PM
I think I should say something about Pike, cause it's a very interesting language. Pike is the most underrated of all languages I've tried. It seems to be very serious, very well designed language that ships with many useful libraries by default. The biggest problem with it is the documentation and lack of examples. It looks like several years ago Pike was a promising language that could have become a competition for Ruby, Python, PHP but, for some reasons (not known to me) hasn't.
Title: Re: Short summary
Post by: ScriptBasic on November 15, 2016, 01:19:12 AM
I'm surprised you haven't tried Script BASIC. Peter was a huge fan and wrote a few extension modules for it. BaCon is almost a mirror of SB's syntax.
Title: Re: Short summary
Post by: Tomaaz on November 15, 2016, 09:46:44 AM
I'm surprised you haven't tried Script BASIC.

I have, of course. I just forgot to mention it here. You should remember our long discussion about it.

Peter was a huge fan and wrote a few extension modules for it.

"Was"... Interesting. ;)

BaCon is almost a mirror of SB's syntax.

Well, they are both based on BASIC, so it's not a surprise for me. But BaCon is still in development, has very good documentation and many extremely easy to use libraries.
Title: Re: Short summary
Post by: ScriptBasic on November 15, 2016, 04:43:32 PM
Quote
"Was"... Interesting.

Peter's motivation for writing BaCon was he wanted a 64 bit Linux/Unix BASIC. It wasn't until he was far along with BaCon that the realization all that was needed with Script BASIC to be 64 bit was a compiler flag change. (-m64) If It wasn't for Peter's interest in Script BASIC in the beginning, I probably wouldn't have picked up the project and who knows where it might of ended up.
Title: Re: Short summary
Post by: Tomaaz on November 15, 2016, 07:35:36 PM
Peter's motivation for writing BaCon was he wanted a 64 bit Linux/Unix BASIC.

It was something different:

Quote
The only BASIC I had used since was ScriptBasic. This is a very good BASIC but has the downside of being interpreted and therefore inevitably slow, with eventually visible source code to read for everybody.
...
Still I wanted to create my own BASIC, and for performance reasons it had to be a compiler, also having the possibility of hidden source code.

The whole text is here (http://www.basic-converter.org/interview.html).
Title: Re: Short summary
Post by: Richly on November 15, 2016, 09:19:23 PM
Tomaaz, where does Perl fit in your list?
Title: Re: Short summary
Post by: jj2007 on November 15, 2016, 09:38:11 PM
Tomaaz, how dare you not give MasmBasic (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm) the place in the top three it truely deserves??
 8)
Title: Re: Short summary
Post by: Tomaaz on November 15, 2016, 10:15:49 PM
Tomaaz, where does Perl fit in your list?

Perl is pretty solid. You can do a lot with it. Also, while Ruby and Python are more usable under Linux (Ruby is almost unusable on Windows), Perl seems to work really good under Windows (at least it did on Win 7). I was using Strawberry Perl and managed to do everything I did with Perl on Linux. Perl is well documented, but the community is a bit geeky. The obvious bad thing about Perl is its syntax. Sometimes it looks really ugly and is annoying to write (sigils,single and double arrows etc.). Of course, I'm talking about Perl 5. Perl 6, that has finally arrived last year, is, despite its name, a completely different language. I've tried it but didn't play with it to much. It was surprisingly slow and even more complex than Perl 5. I know that "TimTowTdi" is one of the most important aspect of Perl philosophy, but it was just to much.

Tomaaz, how dare you not give MasmBasic (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm) the place in the top three it truely deserves??
 8)

If I only were able to understand and use it, I'm pretty sure it would be on the very top. ;D
Title: Re: Short summary
Post by: Aurel on November 15, 2016, 11:26:35 PM
Quote
while Ruby and Python are more usable under Linux
ohh finally something true of your expert view.. :)
and for your under 100 lines progies   ;D almost any programming language is usable
ah yes python ..ok WinPython is not that bad but simply still sucks on Windows  ;D
Title: Re: Short summary
Post by: Tomaaz on November 15, 2016, 11:40:06 PM
ohh finally something true of your expert view.. :)

Finally? I've said it before. Many times. ???

and for your under 100 lines progies   ;D almost any programming language is usable

Well... Unfortunately, not.  Even for some 10 lines "progies" some languages are pretty useless.  ;D

ah yes python ..ok WinPython is not that bad but simply still sucks on Windows  ;D

The "what's in the name" saga continues.  ;D Aurel, I know that this distribution has "Win" in its name, but...  ;D And does anyone care what's the best on Windows anymore? Everybody is moving to mobile platforms and Microsoft will soon block everything but its own solutions, so...  ;D
Title: Re: Short summary
Post by: ScriptBasic on November 16, 2016, 06:31:46 AM
I wonder if BaCon would be more popular if a Windows effort was taken seriously.
Title: Re: Short summary
Post by: Aurel on November 16, 2016, 07:47:52 AM
Quote
Everybody is moving to mobile platforms and Microsoft will soon block everything but its own solutions, so
Yeah...who is everybody  ;D
you?  :o
MS block in the past so many things but are unblocked by hackers ...
read--users   ;D
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 08:43:17 AM
MS block in the past so many things...

For example? Because, comparing to Apple or Google, Microsoft was very open in the past.

but are unblocked by hackers ...
read--users   ;D

What hackers/users? You? Or you just referring to the "unlocked" pirated versions. ;)

Aurel, you're usually ten years behind, so when you join Windows 10 era in 2026, you will probably understand what I'm talking about.  ;D
Title: Re: Short summary
Post by: ZXDunny on November 16, 2016, 10:32:47 AM
No SpecBAS, Tomaaz? I'm shocked. SHOCKED! :p
Title: Re: Short summary
Post by: Aurel on November 16, 2016, 03:18:36 PM
Quote
Aurel, you're usually ten years behind, so when you join Windows 10 era in 2026, you will probably understand what I'm talking about
I understand very well but you not ..or you dont know how to use windows 10  ;D
i have win10 on one my comp almost year and i dont have any problem with this OS at all
also on same comp is SliTaz...both work as charm  :)
of course no update  ::)
Title: Re: Short summary
Post by: jj2007 on November 16, 2016, 04:59:21 PM
The first one is Python, because it's an overall winner.

I understand your choice. Inter alia, the built-in functions like sorting etc are fairly fast.

However, the fact that Perl 3 is not compatible with Perl 2 is a disaster, from a managerial POV.
Title: Re: Short summary
Post by: ScriptBasic on November 16, 2016, 05:36:34 PM
Tomaaz,

Peter Verhas once told me many years ago if he would have known about Python, (started about the same time) he would have never put the effort into creating Script BASIC. On a positive note, I'm glad he did. I haven't found a better BASIC.
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 06:56:33 PM
also on same comp is SliTaz...both work as charm  :)

Lucky you!  ;D

of course no update  ::)

Congrats! Are you still on dial-up or it was your decision to do this "smart" move?  ;D

I wonder if BaCon would be more popular if a Windows effort was taken seriously.

Sorry John. Thanx to Aurel's sudden appearance in this topic I missed that one. Well, I don't think so. It didn't help Pike, it wouldn't help BaCon either. What could possibly help is a more modern website.

Peter Verhas once told me many years ago if he would have known about Python, (started about the same time) he would have never put the effort into creating Script BASIC.

I'm not surprised and it make sense to me.

However, the fact that Perl 3 is not compatible with Perl 2 is a disaster, from a managerial POV.

Do you mean Python 2 and 3? Yes, that's a bad thing, but at the moment you can just stick with Python 3.
Title: Re: Short summary
Post by: Aurel on November 16, 2016, 07:42:37 PM
Quote
Lucky you!
What lucky me..there is no any kind of luck..
tomek
this is not first time that i am surprised how less knowlege you have
about computer hardware - mean HD partitions
of course that any new windows update destroy your old grub
and you are surprised..oh my.
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 08:15:21 PM
of course that any new windows update destroy your old grub
and you are surprised..oh my.

Really? For several months nothing like that happened and believe me, there were really big updates in the meantime. Also, my old laptop had Win 7 and several Linux distros for years. What does it mean? That it's absolutely possible not to destroy grub. So, when I hear you say "of course that any new windows update destroy your old grub", I don't know if you're a brainwashed fanboy or maybe something else.
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 08:25:38 PM
No SpecBAS, Tomaaz? I'm shocked. SHOCKED! :p

I've tried it (of course!) and I find it pretty cool and am impressed by its speed, but 1) this kind of isolated environment is not what I'm looking for 2) I'm a huge C64 fan!  ;)
Title: Re: Short summary
Post by: Aurel on November 16, 2016, 09:07:20 PM
tomek
i really dont know and i dont care about update   
because of several reasons ..it is a secret or better to say do it your self
if update is something like new install ..soo grub will be destroyed or better to say overwritten by
by windows boot manager..right
so i hope that you smart  enough to disable update if your os- os.es work properly
in dual boot with GRUB
and what you think that you get with update ..security
that is ordinary crap
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 09:49:33 PM
so i hope that you smart  enough to disable update if your os- os.es work properly
in dual boot with GRUB

I wouldn't call it "smart". I would call it "risky" or ... "stupid". I have already found a better solution. I'm gonna buy a new Win 10 laptop tomorrow and make Linux to wipe Windows from the old one (revenge!  ;D ). These things are so cheap nowadays that it's a no-brainer.

and what you think that you get with update ..security
that is ordinary crap

Thanx for sharing your opinion, hacker/user/expert, but sorry - I'm not going to take it seriously. :)
Title: Re: Short summary
Post by: Aurel on November 16, 2016, 10:04:14 PM
Quote
I'm gonna buy a new Win 10 laptop tomorrow and make Linux to wipe Windows from the old one
ha ha ha,,,
ok  but better buy 10 laptops that you be sure  ;D
Title: Re: Short summary
Post by: Tomaaz on November 16, 2016, 10:07:42 PM
ok  but better buy 10 laptops that you be sure  ;D

Thanx for sharing your opinion, hacker/user/expert, but sorry - I'm not going to take it seriously. ;D Two laptops for two operating systems should be enough. :D
Title: Re: Short summary
Post by: ScriptBasic on November 17, 2016, 04:43:56 AM
Is it that time when Aurel calls Tomaaz a hopeless drunk hooked on Vodka?  :)