Live data from Hacker News

FreeBasic

freebasic.net

21–30 of 73 posts

Re: FreeBasic

#21

I learned Basic on a ZX Spectrum clone when I was a kid. It was harder to structure the code because there were no functions and subroutines, just line numbers and goto. No while, no fors. Just ifs. When I've learned x86 assembly later, it didn't seem too different to me. This variant of Basic is more close to Pascal for me than the Basic I've learned.

I've started on the ZX Spectrum too, as I recall the built-in BASIC had GO SUB and RETURN statements so you could do subroutines. It even had FOR loops.

Allowing only a single letter for string variable names was a pain though ;)

Re: FreeBasic

#22
I started with the basic family of languages. VB6, QBasic (yes in this strange order), VB.Net, PowerBasic, FreeBasic.

FreeBasic was probably the most fun of them to me: cross-platform, compiles to fairly fast running binaries, can easily interface with libraries written in C, and has qbasic syntax mode.

Re: FreeBasic

#23
post #19

I looked up BASIC for mac, and lo and behold, there seems to be only one, by Nikolay Denislamov that is useful, and it's limit-ware (program size) and $12 to go "premium". Not even GAMBAS. I found Basic! and techBASIC on the ipad, and they might run on Apple Silicon. The latter is not in the appstore these days.(It seems to have morphed into something else) (quick download) Basic! runs on Ventura/MacMiniM2. How well…

There's a few Mac based BASICs but I'm not sure how they fare now with the new CPUs.

Come share your findings with us in the discord BASIC community if you use discord: https://discord.gg/rWaFeCca3P

Re: FreeBasic

#24
I think the fact that the old 8-bit computers booted straight into BASIC and came with amazing manuals (at least Amstrad) that taught you programming was amazing and what made me a software engineer in the end. I shared some of this amazement and examples in: https://retrofun.pl/2021/05/18/hobbyarding/

But with BASIC getting so much hatred since the 70s... I started with the famous Dijkstra quote and did an investigation - was it really that bad? https://retrofun.pl/2023/12/18/was-basic-that-horrible-or-be... It was amazing to see the language origins and how it compares to the alternatives.

Today BASIC dialects are really advanced. Even BBC BASIC has structs now!

Re: FreeBasic

#25

I've been dismissive of BASIC as an outdated and terrible language since reading some old programs written in it. But reading the docs and examples for FreeBasic actually make it look decent. Static typing, decent syntax, and I don't even have to start all my lines with 10 20 30 so I can JUMP to them!

there are some BASIC dialects that can give other modern languages a run for their money. Check out on of my favs: https://www.cerberus-x.com/cxDocs/Programming_Language%20ref...

"Cerberus X is a high level programming language based on the popular 'Blitz' range of languages, and was inspired by both Java for its streamlined language, and BASIC for its readability."

Interesting language. I've never heard of Java as streamlined though ;)

Re: FreeBasic

#26

My first language was Locomotive Basic 1.1 on an Amstrad 6128. The best thing about it was the huge manual that came with it. Not only did it have FOR/NEXT but also WHILE/WEND and the interesting ON x GOTO y1,y2..yn where x was anything that evaluated to an integer and the y's were line numbers.

that manual was my favorite book when I was a kid! it taught everything. Computers in general, programming, two languages, two OSes!

Re: FreeBasic

#27
post #19

I looked up BASIC for mac, and lo and behold, there seems to be only one, by Nikolay Denislamov that is useful, and it's limit-ware (program size) and $12 to go "premium". Not even GAMBAS. I found Basic! and techBASIC on the ipad, and they might run on Apple Silicon. The latter is not in the appstore these days.(It seems to have morphed into something else) (quick download) Basic! runs on Ventura/MacMiniM2. How well…

[deleted]

Re: FreeBasic

#28
post #19

I looked up BASIC for mac, and lo and behold, there seems to be only one, by Nikolay Denislamov that is useful, and it's limit-ware (program size) and $12 to go "premium". Not even GAMBAS. I found Basic! and techBASIC on the ipad, and they might run on Apple Silicon. The latter is not in the appstore these days.(It seems to have morphed into something else) (quick download) Basic! runs on Ventura/MacMiniM2. How well…

BBC BASIC with it's SDL IDE work ok on a mac too!

Re: FreeBasic

#29

I think the fact that the old 8-bit computers booted straight into BASIC and came with amazing manuals (at least Amstrad) that taught you programming was amazing and what made me a software engineer in the end. I shared some of this amazement and examples in: https://retrofun.pl/2021/05/18/hobbyarding/ But with BASIC getting so much hatred since the 70s... I started with the famous Dijkstra quote and did an investiga…

“Bad” depends on purpose. For teaching novices a bit is programming, I think old-school BASIC with line numbers and goto is hard to beat.

Re: FreeBasic

#30
To me, the most critical thing in the hobby market right now is the lack of good software courses, books and software itself. Without good software and an owner who understands programming, a hobby computer is wasted. Will quality software be written for the hobby market?

Almost a year ago, Paul Allen and myself, expecting the hobby market to expand, hired Monte Davidoff and developed Altair BASIC. Though the initial work took only two months, the three of us have spent most of the last year documenting, improving and adding features to BASIC. Now we have 4K, 8K, EXTENDED, ROM and DISK BASIC. The value of the computer time we have used exceeds $40,000.

The feedback we have gotten from the hundreds of people who say they are using BASIC has all been positive. Two surprising things are apparent, however, 1) Most of these "users" never bought BASIC (less thank 10% of all Altair owners have bought BASIC), and 2) The amount of royalties we have received from sales to hobbyists makes the time spent on Altair BASIC worth less than $2 an hour.

Why is this? As the majority of hobbyists must be aware, most of you steal your software. Hardware must be paid for, but software is something to share. Who cares if the people who worked on it get paid?

Is this fair? One thing you don't do by stealing software is get back at MITS for some problem you may have had. MITS doesn't make money selling software. The royalty paid to us, the manual, the tape and the overhead make it a break-even operation. One thing you do do is prevent good software from being written. Who can afford to do professional work for nothing? What hobbyist can put 3-man years into programming, finding all bugs, documenting his product and distribute for free? The fact is, no one besides us has invested a lot of money in hobby software. We have written 6800 BASIC, and are writing 8080 APL and 6800 APL, but there is very little incentive to make this software available to hobbyists. Most directly, the thing you do is theft.

What about the guys who re-sell Altair BASIC, aren't they making money on hobby software? Yes, but those who have been reported to us may lose in the end. They are the ones who give hobbyists a bad name, and should be kicked out of any club meeting they show up at.

I would appreciate letters from any one who wants to pay up, or has a suggestion or comment. Just write to me at 1180 Alvarado SE, #114, Albuquerque, New Mexico, 87108. Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software.

Post reply on HN