6 ms·
Create programs for all Amiga platforms with Lazarus
- tluyben2 11y agoNice work! Lazarus is pretty nice but it's community is not large enough. It could be an excellent tool for cross platform and mobile, but the last time I tried mobile it was far from trivial to get anything working. It works, but it needs a lot of effort to make it easy.
- ZenoArrow 11y agoGood to see Lazarus is still being developed. IIRC it's using Pascal as the base language, which may be of interest to some. In a similar way, you can create programs for all Amiga platforms and a number of non-Amiga platforms using Hollywood: http://www.hollywood-mal.com http://www.hollywood-mal.com This is the full list of supported platforms (at the time of writing): AmigaOS 3 (m68k) AmigaOS 4 (ppc) Android (arm) AROS (i386) Linux (arm) Linux (i386) Linux (ppc) Mac OS X (i386) Mac OS X (ppc) MorphOS (ppc) WarpOS (m68k/ppc) Windows (i386)
- noir_lord 11y ago> IIRC it's using Pascal It uses a superset of old-style Pascal called Object Pascal (the different is somewhat akin to C -> C++) which is actually a really nice language.
- anthk 11y agoAnd contrary to C++ with C , you can use an objectless FreePascal syntax just fine :)
- noir_lord 11y agoIndeed, I still miss writing desktop applications in Delphi 6, it absolutely nailed the sweet spot between RAD, good output, ease of use while not limiting your ability to get down and dirty, throw in the VCL and the insane number of aftermarket components and you have a developer experience I still haven't seen matched (ironically not even by later versions of Delphi).
- ZenoArrow 11y ago> "you have a developer experience I still haven't seen matched (ironically not even by later versions of Delphi)." Out of interest, have you tried C#? Delphi and C# share the same lead architect. https://en.wikipedia.org/wiki/Anders_Hejlsberg https://en.wikipedia.org/wiki/Anders_Hejlsberg
- noir_lord 11y agoYep, though the last time I used it was VS2010, it was very very good and you could see a lot of the Delphi lineage in the way it did things, I love C# as a language but these days I'm a linux based web dev. Really looking forwards to first tier C# on linux though!
- narag 11y agoWas he? IIRC he was more like Borland CTO or something while Chuck Jazdzewski (also poached by Microsoft, now in Google I think) was the project leader. Anders did write TurboPascal by himself though. Anyway, C# is not so close to Delphi. Both the language and the feel of the IDE are more similar to Java/Eclipse than to (good old times) Delphi. I've used C# for several projects and, even using a decent machine, the two seconds delay (for best case) was there when doing mostly everything, while Old Delphi and current Lazarus snap.
- anthk 11y agoTry Lazarus IDE.
- systems 11y agothis is a question for those using freepascal, how would you compare it to modern languages like scala, go, rust
- noir_lord 11y agoFree Pascal implements Object Pascal. Not used it in a while but I was a Delphi programmer years ago. Object Pascal is a decent language, it implements most of the OO features you'd expect in a 'modern' language. It has very nice data type support via records, nice out the box string support, it supports properties with optional read/write specifiers (really useful). The usual stuff in terms of interfaces and generics. It's unit system is clean, clear and unambiguous. Moving away from the language it's compiler is very fast as is the output, it's generally in the same order of magnitude as C++ or Java (https://benchmarksgame.alioth.debian.org/u64q/pascal.html https://benchmarksgame.alioth.debian.org/u64q/pascal.html the always unreliable in the realworld benchmarks).
- systems 11y agoanother question please i believe cross compilation (ability to compile to many platforms from one source code, from one dev machine and target many other platforms) and the ability to easily mix assembly with code are touted as some of freepascal/lazarus special features/edges, is this correct, or is this not very special or particularly powerfull in freepascal/lazarus
- ALB42 11y agoEspecially powerful is the LCL (Lazarus component library) a GUI wrapper library which makes it possible to "write once compile everywhere" (Slogan of Lazarus). An in difference to QT or gtk and such toolskits it looks native on every platform because in the backend LCL can use GTK, GTK2, QT, Win-API or in this case MUI to create the GUI, so the application look not like aliens but native.
- narag 11y agoLast time I asked, cross compilation is not easy feat. No problem compiling the same source for different targets, but from the same machine? There's no easy way, specially for Macs. Mind you it's not impossible, but it's not the recommended path. Assembly you can insert it directly in code. To reconcile that with the prior question, use ifdefs. Edit: the reason they gave me is that the linker (IIRC, GNU tools) needs the target DLLs to work properly. A good solution would be using a Mac as development machine with VMs for the rest of targets.
- phjesusthatguy3 11y agoDoes anyone know what a 4000T is worth these days? I've got the computer the local library used to use for their local access cable channel rotting away in my basement right now. I have no use for it but I'd like to make sure someone who wanted it got it rather than sending it off to some unknown fate.
- EvanAnderson 11y agoGiven the rarity of that machine I'd guess it's actually worth a fair bit to the right collector or Amiga enthusiast. (It sounds like quite a find, to me, and I wish I could justify the purchase... >smile<)
- phjesusthatguy3 11y agoI'd ship it wherever but it's a really heavy machine and I don't want to just dump it on someone. I suppose I should take pictures and get it online.
- EvanAnderson 11y agoI daresay you'll make enough money to make it worth your trouble. Your other comments re: making sure it goes to a good home are really commendable. The Amiga family are a bunch of neat and quirky computers from a bygone personal computer era and they're definitely worth preserving.
- phjesusthatguy3 11y agoIt's a Commodore machine. I already threw out a C128 because I didn't need it anymore and that was a huge mistake. I'm not trying to make a killing on this thing but I'm pretty sure it's not something I should just throw out.
- ZenoArrow 11y agoI don't know what the going rate for an A4000T is these days, but if you'd like to find a buyer I'd say Amibay is worth a try: http://www.amibay.com/forum.php http://www.amibay.com/forum.php