7 ms·
I mentioned Lazarus in other threads a few days ago (since my kids are playing around with it) and it's great to see it as a top-level post. Some random thought
by rcarmo 9y ago
I mentioned Lazarus in other threads a few days ago (since my kids are playing around with it) and it's great to see it as a top-level post. Some random thoughts:
- It's somewhat amusing to realize that in 2017 this is pretty much the easiest way to do a desktop app (besides RealBasic/Xojo which I've yet to try - was put off by their mandatory registration)
- I wish we had RAD environments like this for more languages (Racket, Python, etc. - even JS).
- On the Mac, installation is a bit fiddly. It needs a little polish and support (a standalone, integrated bundle would be better, or at the very least a unified installer).
- We've been retrofitting web UIs to desktops to such an extent (I'm looking at you, Electron) that the tiny, supremely efficient apps Lazarus spits out put the last couple of years into stark perspective (2GB RAM used by Slack, etc.)
I love Lazarus, and hope it helps resurrect the RAD approach for other languages - if anyone knows of any similar environments (besides QtCreator, etc.), could you share the links?
- dkersten 9y agoI've not used Lazarus or Delphi, so I can't really compare properly. Perhaps I'm missing something. But: > if anyone knows of any similar environments (besides QtCreator, etc.) Why "besides QtCreator, etc"? It sounds to me almost like "do you know any X besides all of the popular X". Is there any particular reason you discount QtCreator? Does it not work for your purposes? Or is it just a case of you already know about it and want to hear about more obscure tools? > It's somewhat amusing to realize that in 2017 this is pretty much the easiest way to do a desktop app I've found Qt with QtCreator to be an incredibly productive way to develop desktop applications. Both old-school QWidgets-based Qt with QtDesigner (the RAD portion of QtCreator for pre-QtQuick) and QtQuick/QML with and without its RAD interface. > I wish we had RAD environments like this for more languages (Racket, Python, etc. - even JS). I've used the Python version of Qt with QWidgets in the past and it was a pretty nice workflow. I've never done it personally, but I know of people who use Python + QtQuick/QML and seem pretty happy with it. There's also various "app builder" tools for JS, but I don't know how good they are.
- chx 9y agoThere is https://blind.guru/qta11y.html https://blind.guru/qta11y.html as a problem with QT, I think it made to HN like three days ago.
- dkersten 9y agoWhether or not that is a negative point for Qt depends on your perspective. I mean, Qt never claimed to have JAWS support and the guy is free to submit a patch. Its unfortunate, for sure, that Qt doesn't support popular accessibility tools, but that's hardly a problem unique to Qt or open source tools. This "If you want to support users with disabilities, you probably should not rely on hippie coders right now" is unfortunately true for most open source tools, but also for many commercial offerings. Does Lazarus/Delphi fare better with accessibility and JAWS support specifically? Also from your link: "For now, you will need to write a native UI for every platform you want to support." -- is the Lazarus/Delphi story any better in this respect? The discussion you mentioned is here, btw, and it seems to have mixed views: https://news.ycombinator.com/item?id=14946358 https://news.ycombinator.com/item?id=14946358
- badsectoracula 9y ago> Does Lazarus/Delphi fare better with accessibility and JAWS support specifically? For this particular issue, yes, because Lazarus uses Win32 for Windows applications. For Linux it uses GTK2 (can also use Qt instead) which AFAIK has good accessibility support. For Mac OS X it uses Carbon (there is a Cocoa backend but it is still in prealpha) so... it depends on how accessible Carbon apps are i suppose. I don't think there is any special support for accessibility however, it is all about what the underlying widgets provide out of the box.
- jcelerier 9y agoApparently GTK2 doesn't fare better with JAWS: https://stackoverflow.com/a/4136662/1495627 https://stackoverflow.com/a/4136662/1495627
- squarefoot 9y ago"It's somewhat amusing to realize that in 2017 this is pretty much the easiest way to do a desktop app (besides RealBasic/Xojo which I've yet to try" If you're interested in Basic programming then Gambas might interest you. Although not a clone of VB, it can be roughly considered being to VB what Lazarus is to Delphi: a 100% Open Source implementation. I would prefer Lazarus anyway, but it's indeed nice to see different alternatives to proprietary dev systems. http://gambas.sourceforge.net/en/main.html http://gambas.sourceforge.net/en/main.html
- anfractuosity 9y agoI remember one BASIC, called RapidQ, which I really enjoyed playing with a long time ago (which was freeware, but unfortunately I think it stopped being maintained as the source was sold to another company). It had a rather cool graphical interface to create GUIs, kind of like VisualBasic I think. It even had APIs to interface with DirectX. Pic of what the IDE looked like: http://basic.mindteq.com/Screenshots/RapidQ.jpg http://basic.mindteq.com/Screenshots/RapidQ.jpg
- bigtunacan 9y agoThat project looks pretty cool actually. It is unfortunate that it is not cross platform.
- throwaway7645 9y agoAs awesome as Lazarus appears to be here, Rebol is even more amazing in my opinion. There is no designer, but the GUI DSL is mind bending. Red is a Rebol inspired language that is also tiny with a compiler as well so you can build a nice cross-platform-native GUI and distribute it as a tiny executable (~1.5 MB). You can see the GUI stuff for both Rebol and Red. There's a YouTube video by Nick Antonnacio (spelling) that shows him building something like 40 GUI apps in an hour ranging from email apps to games like tic-tac-toe and snake...it was pretty crazy to see the first time. I'm checking out Lazarus currently.
- hdhzy 9y agoDo you mean this: https://youtube.com/watch?v=D50XULVZaYY https://youtube.com/watch?v=D50XULVZaYY ? Looks nice!
- throwaway7645 9y agoThat one and this one: https://m.youtube.com/watch?v=lR5Fzv6DP0I https://m.youtube.com/watch?v=lR5Fzv6DP0I That guy can build some simple apps FAST! It helps that Rebol has built-ins for everything.
- hdhzy 9y agoVery cool, the examples that he builds are very similar to what I've built when I stated in Delphi (simple chats, word processors, music players) but to course Rebol is much more concise. I wish the controls would look more "native". Currently they look like Windows 3.11. Also... Downloading code over plain HTTP? Not good idea... For people that are interested, here's a free book: http://www.lulu.com/shop/olivier-auverlot-and-peter-william-alfred-wood/rebol-a-programmers-guide/ebook/product-17515075.html http://www.lulu.com/shop/olivier-auverlot-and-peter-william-...
- throwaway7645 9y agoThe new language Red is 98% Rebol compatible and uses native GUI feel. If only it'll get finished and reach 1.0. Still a bit left on the roadmap.
- thro1237 9y agoNow, if it can spit out Android apps :-)
- alex-e 9y agoSpeaking of the bloated slack client, there's a new native desktop app for Slack, Skype, and many others: https://eul.im https://eul.im It's only 4 MB and uses ~100 MB RAM.
- wikibob 9y agoDo you know who's behind the project?
- alex-e 9y agoI am :) Right now I'm working on setting up the company.
- deleted 9y ago[deleted]
- exikyut 9y agoWait, how are you doing Skype?
- nibblerres 9y agoKamelåse så fedt. Sykelkugle!