Gambas: Visual Basic on Linux
gambas.sourceforge.net
gambas.sourceforge.net
For error handling goto is generally much clearer than using exceptions.
(With the obvious exceptions of longjmp and panic/defer, global vs local var, and Go forcing to assign the error.)
On Error Resume Next isn't great, but calling it much worse than On Error Goto, or much worse than other languages, is a stretch.
My point is only that people complain about it in VB disproportionally often compared to other languages. (Does that mitigate the issue to some extent, if every VB dev is super aware of it?)
Usually much cleaner than jumping to somewhere else, but that had its uses too.
(Multiplatform) GUI is one of those things you really have to throw money at if you value your time.
On another note, one commercial option that is very cheap (like $250 for a professional license that is perpetual for that version and collects $0 royalties), but can build GUIs for (Windows, Linux, OSx, Raspberry Pi, Android, and iOS) and has very good built-in database support, encryption, audio, assembly...etc is the forth based 8th language. You can get source with an NDA and $2500 if you really need it. I've only played with it so far, but it is crazy fun and has a lot of built-in goodies. The author fixes many bugs in like hours and will push a new version same day for zero cost.
* Home: https://8th-dev.com/
* About: https://8th-dev.com/about8th.html
* Previous discussion: https://news.ycombinator.com/item?id=15672361
First I've heard of 8th, but my immediate reaction is similar to the comments in the HN discussion :/
[1]: http://haxeui.org/
1) SafeTcl for running untrusted code
2) AndroWish for making Android apps
3) Wapp for web apps
4) Embedded SQLite database
5) Expect for automation
6) TclKit for single binaries
7) Hecl for running Tcl code on Symbian devices
8) Fossil that is better than git, stores repo in much less space.
It's not like there is anything wrong in any programming language, when it's still getting features, fixes, security fixes etc.
Problem is, when there is existing large VBA/VB6/VB.Net/Excel etc apps and Microsoft stops developing Visual Basic language.
https://gitlab.com/djsumdog/mpvbuddy
It's alright, and way better than Electron Cancer.
For Gambas models, does it have built-in models that can update their own views or is it all retained mode like all the other GUIs. The one big advantage of web frameworks seems to be how they're immediate mode (using things like the Shadow DOM) so you don't have to emit state changes. It doesn't seem like they're very many non-web based GUI toolkits which can do that (which aren't minimalist and meant for games)
Gambas looks fantastic, and exactly as easy to develop with as I remember VB 4 being. I can't say I can stomach the language it uses, but something like this for Python would be a godsend.
The developer recently released the tool's source and made it free.
It's a mature tool with lots of community support. It also has a pretty slick GUI Android screen designer (Win only - but works in WINE).
It might even be feasible to get the Gambas tool to work with the B4A Android Bridge and Designer.
All of these use the same dialect of BASIC, and I believe they can use (but don't have to) a cross-platform GUI.
I remember reading about this some time ago, like almost 10 years ago. So you have to wonder if there are businesses out there using Gambas web apps without knowing it. :-) Some of the developers who use Gambas are very experienced.
It seems that Microsoft was aware of the poor quality of its language, as VB .Net is not backward compatible with older versions of Visual Basic.
I dislike the bad level of common Visual Basic programmers, often due to bad pratices imposed by the bugs and strangeness of this language.
Pity he couldn't resist taknng a swipe at vb and vb programmers in his introduction. Also he's inaccurate wrt to his comments about why Microsoft didn't make a vb7.
This is an interesting project, but in my experience with companies that still use VB6 or VB.net (they have no idea about linux nor a desire to learn anything new... hence why they are still on VB6)
Needed it with all the stress at work
I looked at the site, this sounds interesting. Just interested in hearing it from someone who uses it
I gave it a try a few times but it never clicked. I felt constrained by the language (Lisp, Smalltalk and Forth ruined me for life) and the runtime is nothing to write home about. For most people I guess it doesn't matter. My friend doesn't even know what reference counting is and wants something simple to get stuff done.
Lazarus aside, it seems FOSS isn't going to give us the kind of RAD tools that one might hope for -- thinks more like Hypercard and related. Such efforts require the kind of resources (long periods of time and good funding, to start) that loose networks of casual contributors are never going to be able to provide. And in today's world, where next-quarter reporting and shareholder primacy dominate enterprise decisions, it's even rare to get something truly immersive and new from commercial entities (Apple is the biggest corp in the world. Do they have something like their ATG group from the 90s? If so, what the hell are they working on?)
> Lisp, Smalltalk and Forth ruined me for life)
Same here, but there's a (partial) reason these aren't really viable in today's computing culture. The first is that they really are for whole computing systems that don't necessarily make a distinction between user and programmer. The culture we have today is the opposite of this: users are consumers, first and foremost. Computing systems are thus mechanisms that run isolated "applications" whose ability to be modified by regular people is severely limited compared to what we know (and have known for 4 decades) is possible.
With Cygwin:
setup-x86_64.exe --packages gambas3,xinit,xwin-xdg-menu
Install from Internet, click Next
Root Directory C:\cygwin64 , click Next
Select Local Package Directory C:\Users\USERNAME\Downloads - where setup files are downloaded before installing, click Next
Select Internet Connection / Direct Connection, click Next
Choose a Download Site - I did select http://ftp-stud.hs-esserlingen.de but some other could also work
Select Packages - All required is selected, click Next
Wait while downloading and installing
Checkmark: [X] Create icon on Desktop [X] Add icon to Start Menu
Click Finished
Start Gambas this way:
Start / All Programs / Cygwin-X / XWin-Server
From hidden taskbar right corner icons select icon that has black C and in middle of it light green X. From there click Programming / Gambas3.
Curious to know the experience on the Gambas apps produced in Windows. I guess they would also need Cygwin?
I also think that on Windows Cygwin is required.
Following is from bottom of page http://gambaswiki.org/wiki/doc/faq?nh&l=en#t12
"Will you port Gambas to Windows™ ?
I won't, but I will help any people trying to do that.
Gambas already runs under Cygwin. Note that there is a lot of things to port, if you want to do a native port: process management, gb.qt4 component, and so on... This is a huge job. The most promising compiler target would be Mingw-w64, which also allows cross compilation on a unix-like system."
If you use Gambas for making web apps, then you could use webbrowser to access those apps. Gambas IDE has wizard for web app, and some components that can be dragged to form. From some forum discussions I have read that debugging those web apps is easier then debugging php apps.