Bite the bullet on Pascal/Lazarus? lazarus / 13-General ---------------------------------------------------------------------- Pluto · 2019-01-14 15:52 Ok, I'm going to get eaten alive on this post, but I have to do it... I'm a professional developer thats been in the .NET and Java world for the last 18 years.  For various reasons I won't get into, I wanted to get into embedded development, and decided to relearn C++...  I downloaded C++Builder Community Edition just out of nostalgia. My world was good until I decided the first project I want to do is in Raspberry Pi.  Just to test the waters I want to build a little smart home app that monitors various items in my house, chimes when a door opens after hours, etc. This is where my world falls apart.  Lazarus makes it look so easy to put together a cute little interface and get started... I recall loving Delphi back in the day... This forum is buzzing with activity.... BUT... You guys shouldn't exist.  According to RedMonk, Tiobe, GitHub State of the Octoverse, Pascal is a dead or dying language.  According to RedMonk I should choose Haskell over Pascal... The question is, why isn't there anything this good in C++?  How do I wrap my head around using some language thats going to get me laughed at in most social circles?  (Ok, that seems like baiting, but you understand the question!!!)  I just looked on Indeed... Nope, no Pascal jobs within an hour of home.  Do I put my relearning of C++ on hold to relearn, of all things, PASCAL?!?!?! I promise I'm not a troll.  Why is everybody here?  What keeps you in Pascal?  Is this the best option for Raspberry Pi?  Or do I stick with C++ and use something like Ultimate++? ---------------------------------------------------------------------- guest63552 · 2019-01-14 16:17 Ii is all the point what you want to do with and how much money and time you are wiling to invest: console, GUI, NET. And how fast. Sometime, Pascal was No. 1 in RAD world thanks to Borland and there was many programmers was grown with and get used to make console and GUI app very fast regarding the language . Today, Pascal is pretty much dead language, but have quite a bit middle age and senior nostalgic, not willing nor have a need to spend time to learn another language. When they gone, the Pascal will gone for good as well. Pascal is as well pretty much dead in schools today as educational tool. The world is changed quite a bit from pioneers days of electronic and software from 70' and 80'... IMO, the best for embedded world is to stick with industrial standard languages as C/C++. It is hard that will ever die. ---------------------------------------------------------------------- Handoko · 2019-01-14 16:29 Pascal is not dead, friend. It's just not as popular as it used to be. If you visit this forum regularly, you will see lots of users active in the forum and you will know Lazarus/FreePascal/Pascal is actively developed. Some years ago, we added support to Android. Now we have LAMW and FPC JVM if you want to target Android platform. The support for MacOS is improving. Not only Raspberry and Arduino, now we also can do program for Microchip PIC. It may seem dead from outside but actually it is lively in the inside. And some years ago, someone even forked Lazarus and the result CodeTyphon seems to attract a good amount of users because it has its own beauty. Do you want to join fun? I promise you won't regret. Quote from: Pluto on January 14, 2019, 04:52:12 pmWhy is everybody here? I learned and used BASIC (and its variants). Not happy because it is slow. I then tried Assembly language, it is fast but not productive. I ever tried to learn C, Clipper, FoxPro, Python, they are not for me. I am open to try new things but I still here because: - Pascal is great, outsiders won't know what we mean - Lazarus / FreePascal is free, well-maintained, native code for multiple targets - The forum is very active, I always can learn something new everyday visiting the forum - People here are nice and skilled ---------------------------------------------------------------------- howardpc · 2019-01-14 16:51 The fact that most forum users here love Pascal does not imply that any of them is restricted to Pascal. There are people here skilled in C, C++, assembler, D, Python, Haskell, Ruby, .NET, Java, etc. etc. No one language or development environment is a perfect fit for every situation, platform or software requirement; and each has its advantages and drawbacks. But FPC/Lazarus is a compromise that suits most of the frequent visitors here for enough of their projects that for them it has become a principal compiler/IDE. But certainly not the only one(s) for many. ---------------------------------------------------------------------- Blaazen · 2019-01-14 17:00 QuoteThe fact that most forum users here love Pascal does not imply that any of them is restricted to Pascal. There are people here skilled in C, C++, assembler, D, Python, Haskell, Ruby, .NET, Java, etc. etc.It is indeed very good. Those people know useful features of other IDEs (compilers) and it can be inspiration for Lazarus (FPC). ---------------------------------------------------------------------- Handoko · 2019-01-14 17:05 I agree too. Restricting to a single language or being fanatic is not good. Having experience on using variety of tools will improve the programming skill. I wish I can have more free time so I can explore more possibilities. Because I have limited time for programming, I stick with Pascal only. ---------------------------------------------------------------------- valdir.marcos · 2019-01-14 17:06 Quote from: Pluto on January 14, 2019, 04:52:12 pmWhat keeps you in Pascal?It's easy to learn. Best productivity. Best cost-benefit relation. Pascal was created by Niklaus Wirth as a programming language for teaching fundamental concepts to work reliably and efficiently on the computers available in the 1970’s. Niklaus Wirth was an university professor and researcher, with a Ph.D. in Electrical Engineering and Computer Science (EECS) from the University of California, Berkeley, USA. ---------------------------------------------------------------------- HeavyUser · 2019-01-14 17:16 Quote from: Pluto on January 14, 2019, 04:52:12 pmOk, I'm going to get eaten alive on this post, but I have to do it... I'm a professional developer thats been in the .NET and Java world for the last 18 years.  For various reasons I won't get into, I wanted to get into embedded development, and decided to relearn C++...  I downloaded C++Builder Community Edition just out of nostalgia. My world was good until I decided the first project I want to do is in Raspberry Pi.  Just to test the waters I want to build a little smart home app that monitors various items in my house, chimes when a door opens after hours, etc. This is where my world falls apart.  Lazarus makes it look so easy to put together a cute little interface and get started... I recall loving Delphi back in the day... This forum is buzzing with activity.... BUT... You guys shouldn't exist.  According to RedMonk, Tiobe, GitHub State of the Octoverse, Pascal is a dead or dying language.  According to RedMonk I should choose Haskell over Pascal... The question is, why isn't there anything this good in C++?  How do I wrap my head around using some language thats going to get me laughed at in most social circles?  (Ok, that seems like baiting, but you understand the question!!!)  I just looked on Indeed... Nope, no Pascal jobs within an hour of home.  Do I put my relearning of C++ on hold to relearn, of all things, PASCAL?!?!?! I promise I'm not a troll.  Why is everybody here?  What keeps you in Pascal?  Is this the best option for Raspberry Pi?  Or do I stick with C++ and use something like Ultimate++? before answering your question can you answer me this Why are you here? What pulled you in to even try lazarus/pascal after 18 years in other languages? ---------------------------------------------------------------------- guest63552 · 2019-01-14 17:20 Quote from: valdir.marcos on January 14, 2019, 06:06:50 pmIt's easy to learn. Best productivity. Best cost-benefit relation. The main advantage of Pascal is that have quite clear and strict type, syntax and semantic definitions (that is the reason it was primary language in educational system so long time), comparing to C which can be consider a "dirty" language. OOP version of Pascal is also crystal clear comparing to C++. However, C++ have several advantage over OOP Pascal with which will hardly be achieved that easy as in C++ or any more practical language for the purpose... ---------------------------------------------------------------------- dsiders · 2019-01-14 17:26 Quote from: Pluto on January 14, 2019, 04:52:12 pmOk, I'm going to get eaten alive on this post, but I have to do it... I'm a professional developer thats been in the .NET and Java world for the last 18 years.  Wow, you are true glutton for punishment. Quote from: Pluto on January 14, 2019, 04:52:12 pmFor various reasons I won't get into, I wanted to get into embedded development, and decided to relearn C++...  I downloaded C++Builder Community Edition just out of nostalgia. My world was good until I decided the first project I want to do is in Raspberry Pi.  Just to test the waters I want to build a little smart home app that monitors various items in my house, chimes when a door opens after hours, etc. This is where my world falls apart.  Lazarus makes it look so easy to put together a cute little interface and get started... I recall loving Delphi back in the day... This forum is buzzing with activity.... BUT... You guys shouldn't exist.  According to RedMonk, Tiobe, GitHub State of the Octoverse, Pascal is a dead or dying language.  According to RedMonk I should choose Haskell over Pascal... The dead/dying argument was  presented in 1994 when Delphi was released. It wasn't true then, and IMO is no more true today. Object Pascal is not trendy. And it is likely that it never will be again. Borland missed that opportunity with Delphi  when they lost their way, then their minds, and ultimately the battle. Quote from: Pluto on January 14, 2019, 04:52:12 pmThe question is, why isn't there anything this good in C++? I'm going to assume that's a rhetorical question. Quote from: Pluto on January 14, 2019, 04:52:12 pm  How do I wrap my head around using some language thats going to get me laughed at in most social circles?  (Ok, that seems like baiting, but you understand the question!!!)  I just looked on Indeed... Nope, no Pascal jobs within an hour of home.  Do I put my relearning of C++ on hold to relearn, of all things, PASCAL?!?!?! Well, it is baiting, Your biases and sheer disdain for Object Pascal are insurmountable. Quote from: Pluto on January 14, 2019, 04:52:12 pmI promise I'm not a troll.  And yet, here we are.  BTW, I still say you're not a planet. Quote from: Pluto on January 14, 2019, 04:52:12 pmWhy is everybody here?  What keeps you in Pascal?  I've been programming since 1984. I've used many different tools. My world got rocked when I found Delphi. It was very powerful and offered a level of productivity that I haven't  found in any tool since. I am here because FPC/Lazarus allows me to continue to use great development tools/technology  without the annual ransom demand required by the current corporate overlords of Delphi. I no longer call myself a "professional developer"... I just need to get shit done. FPC/Lazarus allows me to do that. Quote from: Pluto on January 14, 2019, 04:52:12 pmIs this the best option for Raspberry Pi?  Or do I stick with C++ and use something like Ultimate++? Wow, a real question. Why didn't you just ask that instead of slinging the propaganda? My recommendation for you specifically is to stick to Assembly language. ---------------------------------------------------------------------- balazsszekely · 2019-01-14 17:44 I'm gonna open a popcorn and watch how this thread will spiral out of control. People are very emotional about they beloved language, even when it's pretty clear that is no such thing as "perfect language". Each has it's cons an pros, even pascal. ---------------------------------------------------------------------- dsiders · 2019-01-14 17:51 Quote from: GetMem on January 14, 2019, 06:44:42 pmI'm gonna open a popcorn and watch how this thread will spiral out of control. People are very emotional about they beloved language, even when it's pretty clear that is no such thing as "perfect language". Each has it's cons an pros, even pascal.  Cheap entertainment is good sometimes. ---------------------------------------------------------------------- garlar27 · 2019-01-14 18:02 Quote from: Pluto on January 14, 2019, 04:52:12 pmThe question is, why isn't there anything this good in C++?  How do I wrap my head around using some language thats going to get me laughed at in most social circles?  (Ok, that seems like baiting, but you understand the question!!!)  I just looked on Indeed... Nope, no Pascal jobs within an hour of home.  Do I put my relearning of C++ on hold to relearn, of all things, PASCAL?!?!?! I guess I got used that "How does it feel to program in a dead language?". People who doesn't know about, don't want to know either, so I reply "I don't know, ask a COBOL programmer" and there comes the laughs and the conversation subject change  But to mention the things I like:    o- A simple syntax: the code is easy to read even if you are not familiar with the language, as a result you can focus on the problem you need to solve instead of the weird syntax of C like languages.    o- The compiler is fast and your friend. It will tell where the problem is, and the cause. It always tells you when you are doing something dangerous.    o- It is powerful (by the way, did you know the first versions of Photoshop where created with Pascal? Also Skype was made with Delphi before MS purchased it) The problem for starters is to get rid off the weird things other languages has like  anonymous classes (I call them disposable classes) I'm very grateful that in pascal you can't do something like this: Code: C  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i for(;P("\n"),R=;P("|"))for(e=C;e=P("_"+(*u++/8)%2))P("|"+(*u/4)%2); ---------------------------------------------------------------------- garlar27 · 2019-01-14 18:04 Quote from: GetMem on January 14, 2019, 06:44:42 pmI'm gonna open a popcorn and watch how this thread will spiral out of control. People are very emotional about they beloved language, even when it's pretty clear that is no such thing as "perfect language". Each has it's cons an pros, even pascal.  You are right!!!! ---------------------------------------------------------------------- JD · 2019-01-14 19:45 Quote from: Pluto on January 14, 2019, 04:52:12 pmI promise I'm not a troll.  Why is everybody here?  What keeps you in Pascal?  Is this the best option for Raspberry Pi?  Or do I stick with C++ and use something like Ultimate++? Happy new year to all. I've been away for a while.  Like someone said, a lot of us know more than one language. My most recent projects involve the use of Java, Python & R. When I see the games that Oracle is trying to play with Java (and I worry about that), I'm glad I have another option in Lazarus/FreePascal (albeit less famous) for some of my work. What keeps me in Pascal? Because apart from Assembly Language/C/C++, it is the "closest to the metal" in terms of programming languages and way easier to learn. I cannot imagine having to go back to learn Assembly Language/C/C++ again even though the Qt framework (not free) made me think about it. Lazarus/Free Pascal is excellent for many things. It has its weaknesses BUT I believe that it we can get enough mindshare in the embedded devices market and make it a viable alternative for IoT, it may become fashionable again. If I am not mistaken, that market is dominated by C++ (the Qt framework is heavily used) and to a lesser extent, at least in some specialist circles, JavaFX. I'm not a specialist in the embedded devices market, I just try to follow trends there. JD ---------------------------------------------------------------------- Pluto · 2019-01-14 20:03 Thank you for the awesome responses!  I think the fact that I got 13 replies inside of two hours from a forum for a "dead" language bodes well... Quote from: HeavyUser on January 14, 2019, 06:16:16 pmbefore answering your question can you answer me this Why are you here? What pulled you in to even try lazarus/pascal after 18 years in other languages? I'm here because I can find no other good-old-fashion C++ RAD tool that looks even remotely as coherent as Lazarus.  It looks like the easiest way to get up and running with Raspberry Pi. I'm mystified that C++ doesn't have its own tool with the support and maturity that Lazarus has. Quote from: JD on January 14, 2019, 08:45:27 pmLazarus/Free Pascal is excellent for many things. It has its weaknesses BUT I believe that it we can get enough mindshare in the embedded devices market and make it a viable alternative for IoT, it may become fashionable again. IoT is indeed the reason I'm asking! ---------------------------------------------------------------------- bee · 2019-01-15 00:51 Quote from: po123 on January 14, 2019, 05:17:08 pmSometimes, Pascal was No. 1 in RAD world thanks to Borland and there were many programmers was grown with and get used to making console and GUI app very fast regarding the language. It's still no.1 in RAD for Linux, nothing close to FPC/Lazarus on Linux. Thanks to those of core developers of Free Pascal and Lazarus IDE. Quote from: po123 on January 14, 2019, 05:17:08 pmToday, Pascal is a pretty much dead language, but have quite a bit middle age and senior nostalgic, not willing nor have a need to spend the time to learn another language. When they're gone, the Pascal will go for good as well. I don't think so. I managed a local Pascal developers group with thousands of members and there are always newcomers join the group and learn Pascal programming. Quote from: po123 on January 14, 2019, 05:17:08 pmPascal is as well pretty much dead in schools today as an educational tool. The world is changed quite a bit from pioneers days of electronic and software from 70' and 80'... Nope. There are some countries, especially in Asia and East Europe, that are still using Pascal in schools even colleges. Mine is one of them. A college in Russia created its own version on Pascal for Net. named PascalABC. Quote from: po123 on January 14, 2019, 05:17:08 pmIMO, the best for the embedded world is to stick with industrial standard languages such as C/C++. It is hard that will ever die. You should see the Ultibo project. ---------------------------------------------------------------------- marcov · 2019-01-15 09:39 Quote from: Pluto on January 14, 2019, 04:52:12 pmI promise I'm not a troll.  Why is everybody here?  What keeps you in Pascal?  Is this the best option for Raspberry Pi?  Or do I stick with C++ and use something like Ultimate++? Getting things done on time. Popularity contests are no guarantee for that. Focussing on language alone is misleading, since the same language is no guarantee you can actually take your code (and time investments) with you from one project to the next.  Architecture, GUI widget sets and other frameworks and their portability are important too. In general I'm wary of the next big thing(language or framework), because they rarely make good on their promises short term, and you have already several major-version rewrites under the belt before it stabilizes, if it doesn't fade totally. There are of course hypothetical sweet spots, where you only maintain just one application and a new framework  is a perfect fit, but that never happened to me in 20 years of professional programming. IOW so rare that it can't be planned for. My recommendation: such general threads like this are equal to trolling in content, even if not the intention. Focus on short term goals, and don't overestimate the importance of popularity/mindshare and of language in general. You are not a sheep. It is not that hard to do a bit of C, if you are used to Pascal, that is no reason to do everything in plain C. If you have a real problem, you are usually on your own, even if there are 1 million newbies asking about their "hello world" level programs. P.s. am currently debugging an embedded product where two C compilers from the same vendor behave differently. There are no guarantees, sigh. ---------------------------------------------------------------------- Akira1364 · 2019-01-16 01:33 Quote from: dsiders on January 14, 2019, 06:26:49 pmWell, it is baiting, Your biases and sheer disdain for Object Pascal are insurmountable. Are they? Personally I feel like you're reading this guy's intentions entirely the wrong way. ---------------------------------------------------------------------- guest63552 · 2019-01-16 04:17 Quote from: po123 on January 14, 2019, 05:17:08 pmYou should see the Ultibo project.  No, I'm not interested. My almost 40 years carrier as a professional programmers and more than 20 with Delphi was finished long time ago and I have focused currently on embedded world and C++. The fact that I made some GUI utility from time to time with Lazarus if need to be done fast and to have multi-platform support for my own use, make me not interesting in Pascal nowadays. It is all about perception and need. ---------------------------------------------------------------------- 440bx · 2019-01-16 04:37 Quote from: po123 on January 16, 2019, 05:17:14 amIt is all about perception and need. There is definitely a lot of truth to the perception part.  Perception and reality are often two very different things.    Some people are guided by perception, others do their best to be guided by logic.  Just because a large number of people use a particular language, it doesn't mean it's good, except in sheep-logic. ---------------------------------------------------------------------- guest63552 · 2019-01-16 06:06 Quote from: 440bx on January 16, 2019, 05:37:53 amSome people are guided by perception, others do their best to be guided by logic.  You have misunderstood upper... I have answered about my personal need for Pascal today, not expressed general point about programming. To be good professional programmer (not just a plain developer) long time ago was required to have IQ far over average (mine is over 148), well educated and have wide range of abilities including designing (from system to user applications), optimization and so on. Today,  there is an army of mediocrities so called "IT experts", "programmers", "developers ", making extremely improperly designed projects with quite inefficient code relying on fast hardware and huge RAM. Long time ago, programming was more art than plain "do what CEOs said fast, with minimum effort"... I remember years ago, some car manufacturer where used extensively recursion in onboard computer, which brake general safely regulations, causing memory corruption and unintentional (by driver) acceleration. With combination of cheap hardware, that was deadly combination resulting in worldwide scandal... Recently, "Tesla" had an incident with autonomous driving... Safety issue and requirements  influence on everything else. If use free compiler which make army of unknown capability individuals, having high possibility for bugs and regression - logic dictate you will never use it for professional purpose. If you use it for fun and self education, I see no problem to use whatever you want. In embedded world, you have to use proven tools to make a job properly, or you will end with highly dangerous or potentially deadly product... Just to make some parallels with what you wrote about perception and logic. ---------------------------------------------------------------------- balazsszekely · 2019-01-16 07:01 @po123 QuoteTo be good professional programmer (not just a plain developer) long time ago was required to have IQ far over average (mine is over 148) Bragging with high IQ is usually sing of not so high IQ, but OK if you really have over 148, then you're smarter then 99.93 % of the population. ---------------------------------------------------------------------- guest63552 · 2019-01-16 07:24 Quote from: GetMem on January 16, 2019, 08:01:17 am@po123 QuoteTo be good professional programmer (not just a plain developer) long time ago was required to have IQ far over average (mine is over 148) Bragging with high IQ is usually sing of not so high IQ, but OK if you really have over 148, then you're smarter then 99.93 % of the population.  I'm too old and there is nothing to bragging in this pathetic world full of contradictions and nonsense... I'm just briefly here to set some things for FPC and Lazarus, using it just for my personal entertainment. I know very well that this forum is highly rated as very hostile environment whatever anyone said, no matter being fact, lie, insinuation or personal opinion - always will be someone ready to insult. I do not really need that. ---------------------------------------------------------------------- JD · 2019-01-16 07:54 Quote from: po123 on January 16, 2019, 08:24:56 am I'm too old and there is nothing to bragging in this pathetic world full of contradictions and nonsense... I'm just briefly here to set some things for FPC and Lazarus, using it just for my personal entertainment. I know very well that this forum is highly rated as very hostile environment whatever anyone said, no matter being fact, lie, insinuation or personal opinion - always will be someone ready to insult. I do not really need that. Can we ALL please get along? This forum is not hostile when compared to StackOverflow, at least in my opinion. No comment/question is ever deleted/closed here because it is deemed non-constructive.  Besides we all need each other and can learn from each other so why burn bridges. Lazarus/FreePascal is still a niche product so the more programmers that use it, the better for us all. No need for offence, insults and the like. Just think of this forum as a normal company environment where we have to get along for the common goal of keeping the company viable. That is my perspective even if it is different from the reality.  Besides we are trying to answer a question a new/potential user asked. Let's keep that in mind. Cheers, JD ---------------------------------------------------------------------- HeavyUser · 2019-01-16 08:44 Quote from: po123 on January 16, 2019, 07:06:32 amIn embedded world, you have to use proven tools to make a job properly, or you will end with highly dangerous or potentially deadly product... There is your answer, you are here because lazarus looks convenient and probably you where able to get a demo to work fast, but you lack the will to test it and see for your self. Now knowing nothing about your work or testing abilities I can not know if it fits your way of developing (I doubt any one can from a post on a board) and since you only fill safe when you use "proven tools"  as you put it (and I guess if they have support for the embedded platform you are interested in) then I have no choice but to recommend that you should look for the tools that have your minimum requirements. It is obvious that you are not interested in having fun with lazarus (as you try to convince us that you do) otherwise you would simple use it for the fun of it and possibly try to port some of its abilities to your "professional" tools. Now please keep in mind that I'm not a psychologist or social worker of any kind those are my objective observations of your responses on this thread so far and I could be wrong. In any case, it is proven that fpc can be used for embedded, desktop and mobile development it requires a bit more work from your average commercial tool to set it up and use it but there is nothing stopping you from using it in any situation if you have the creativity to do so. as far as the bite the bullet part no one here can answer that for you. ---------------------------------------------------------------------- marcov · 2019-01-16 09:01 Quote from: po123 on January 16, 2019, 07:06:32 amIn embedded world, you have to use proven tools to make a job properly, or you will end with highly dangerous or potentially deadly product... But still you get paid less everytime. Minimizing overhead is a good thing, and if you need to redo proofing for some product, why not a cheaper alternative. Unless you are an old immovable pseudo monopolist ---------------------------------------------------------------------- guest63552 · 2019-01-16 10:09 Quote from: marcov on January 16, 2019, 10:01:17 am But still you get paid less everytime. Minimizing overhead is a good thing, and if you need to redo proofing for some product, why not a cheaper alternative. Unless you are an old immovable pseudo monopolist Your point of view is quite narrow and in the same time you are exceptionally rude and insinuating person. Especially being moderator - it seems you have to read basic forum rules by yourselves. Using unstable software tools with sensitive security applications, you playing with other lives and money. FPC/Lazarus are tools for fun and learn, nothing else.  Over many decades is proven that each new "stable" version brings new bugs and regression. Who is fine with FPC/Lazarus is for them. Payed commercial tools are no different, including Delphi, unless they are much more stable. I have personally bought one license only of suited target model, used to the version IDE quirks, fixed bugs in RTL  and VCL, used proven third-party libraries/components, made my own I needed  and used all while it was suitable. It was only serious RAD at the time on the market. Never updated with newer version, if old worked correctly. If updated any, every single project had to check extensively before actually make it permanently. Indeed, some comments here are so naive, that indicates only that the person which comment it never being professional programmer. Pathetic... ---------------------------------------------------------------------- tr_escape · 2019-01-16 10:19 Quote Using unstable software tools with sensitive security applications, you playing with other lives and money. FPC/Lazarus are tools for fun and learn, nothing else.  Over many decades is proven that each new "stable" version brings new bugs and regression. Who is fine with FPC/Lazarus is for them. Have you got any bugless and proven tools? I can find / create some bugs easyly. If any device able to program by 3rd person can be broken. No one give any warranty but after suitable tests you can say I couldn't find any bugs. ---------------------------------------------------------------------- marcov · 2019-01-16 10:43 Quote from: po123 on January 16, 2019, 11:09:23 am Your point of view is quite narrow and in the same time you are exceptionally rude and insinuating person. Especially being moderator - it seems you have to read basic forum rules by yourselves. IMHO it was allowed since your statement was also awfully narrow. You can't make such sweeping statements without expecting some pushback. QuoteUsing unstable software tools with sensitive security applications, you playing with other lives and money. Nearly no software tool allows to blindly pass on claims from users to compiler creator. IOW in a critical situation, you will have to do your own testing to guard against claims. If you don't do that, THEN you are playing with lives and money. So unstable or stable are arbitrary labels. Of course validating a simple language might be easier, so for the most critical software only compilers that implement a relative straight dialect are used (nowadays usually C but 15-20 years ago, there was still quite some Modula2 usage), to aid validation. That this is not always true, is proven by the continued usage of Cobol :-) Quote FPC/Lazarus are tools for fun and learn, nothing else.  Over many decades is proven that each new "stable" version brings new bugs and regression. Who is fine with FPC/Lazarus is for them. So is nearly any other tool. There are no guarantees. Validate a compiler, and then keep using it, is the only sane way. QuotePayed commercial tools are no different, including Delphi, unless they are much more stable. I have personally bought one license only of suited target model, used to the version IDE quirks, fixed bugs in RTL  and VCL, used proven third-party libraries/components, made my own I needed  and used all while it was suitable. It was only serious RAD at the time on the market. Never ever updated with newer version, if old worked correctly. If updated any, every single project had to check extensively before actually make it permanently. Delphi is riddled with bugs and traps too. YOu just learn to live with it. Which is why if you need to make a move for some reason, you need to discover the new ones of a new version (and even more so, since Delphi has quite large jumps) My point was that if there is a reevaluation, it isn't always needed to exclude tools based on pretty arbitrary labels. QuoteIndeed, the comments here are so naive here, that indicates only that the person which comment it never being professional programmer. Pathetic... For embedded work, we mostly use Microchip. I'm currently evaluating moving from the old C30 compiler to the newer XC16 compiler, mostly because newer chips aren't supported by C30. I'm having problems (a SPI bus init that looks good doesn't work anymore , while  mirrored code for a different bus just before does work, so it seems possibly place/timing related), but I haven't drilled down yet.  We do use NOPs to avoid raising the CS too early, so the compiler might deal with those differently. So in short, I'm doing currently exactly what I was talking about, in a professional enviroment. Evaluating compilers. (there is no FPC backend for dspic btw). Admittedly, the goal is not medicin, and there won't be that many dead people when the lamp on a beerbottle inspection machine dies.  But beerbreweries and their bottle makers are big business, so it is not home automation either. But a development engineer at Phillips Medical happens to be a neighbour, and we often confer about embedded matters. There are many gradations in medical security, but also many changes to challenges. Nowadays they are increasingly moving to other embedded chips for new products because they must be (more) mobile (read battery powered and thus lowpower) and use different wireless interfaces. Preferably with options to do simple data transfer (e.g. from sensor to bluetooth) without waking up the core by connecting dma operations. This is mostly newer chip functionality. Of course absolutely crucial lifesupport is wired and uses ancient software and tools that never change, but not much development is done with that either. But these wireless products are commonly used in hospitals (though less so on the lifesupport/trauma departments). Phillips is of course less bound by tool cost due to their size, and won't select on tool price, but they do check on part functionality out of a wide portfolio, and have the ability to have parts customized, and therefore sometimes must migrate a line to a new chip/architecture and thus compiler. Any idiot can dish out industry truths from embedded magazines, but the craft is carefully weighing options based on conditions, risks, time and availability. ---------------------------------------------------------------------- Handoko · 2019-01-16 11:04 This kind of question, I personally think should not be ask. Which one is better, the answer is opinionated. You should try it yourself and answer it yourself. Originally, you said Pascal is dead. But no, it is not. Because still lots of people using and improving it. I'm not a professional programmer, I don't think I have such the high IQ as required to be a good professional programmer and I do not use Lazarus for commercial purposes. I should not give you advice, but here: Don't use Lazarus/FPC for commercial project. Many year ago, I wrote a simple stock control for my friend's brother. I got a bug with a db control component. I submitted the bug report and waited. Finally, I got a reply saying the bug is fix. But actually I already solved the issue by not using that component because I had already waited ... if I remember correctly ... almost 1 year for the developer team to fix the bug. So, if you use it commercially ... don't use Lazarus/FPC. You won't find the thing you need here. No one will be responsible for the issues you may get by using Lazarus/FPC. You don't pay any money, and Lazarus/FPC is not commercial supported software. But some of us use Lazarus for commercial projects because we can solve the problem ourselves, we can find workaround and it doesn't require high IQ to do it. You said your IQ = 148. I doubt it. Because you should know starting this thread, you will get lots of rude responses, hostile answers, lies, personal opinions, etc. So, why you still started it? ~~~ Peace ~~~ ---------------------------------------------------------------------- jacmoe · 2019-01-16 11:50 I am here (mostly lurking) because my first language was Borland Pascal back in the mid-80's I was taught the language on Commodore 64, my main work machine (High school / College) - never got into BASIC programming much. I picked up Delphi ten years later (late 90's) and absolutely loved it! It was revolutionary. Object Pascal in combination with VCL was a strike of genius. After a couple of years I moved to C++ because I wanted to get into 3D graphics programming. Nowadays I am an eclectic programmer - C, Nim, PHP, C++, a bit of Python, and modern object pascal: Free Pascal in combination with LCL. To this day, I still haven't found something more productive than that concerning desktop applications. ---------------------------------------------------------------------- Handoko · 2019-01-16 12:05 Quote from: jacmoe on January 16, 2019, 12:50:39 pmAfter a couple of years I moved to C++ because I wanted to get into 3D graphics programming. Lazarus/FPC can do 3D too, by using TOpenGLControl or third party libraries like Castle Game Engine, GLScene, SDL, Allegro, SFML, etc. Sorry off topic, but can you please tell me more? I'm thinking to do 3D graphics too someday in the future. ---------------------------------------------------------------------- guest63552 · 2019-01-16 12:23 Quote from: Handoko on January 16, 2019, 12:04:20 pmI doubt it. Because you should know starting this thread, you will get lots of rude responses, hostile answers, lies, personal opinions, etc. So, why you still started it? I do no recall I have started this thread... Quote from: Handoko on January 14, 2019, 05:29:40 pm- People here are nice Which is hard deception. Your previous comment also confirm that... Forum reputation is quite accurate and OP have a right to know that. As well to be informed with FPC/Lazarus current status, development and usability, saving some time if planning it for professional use... Rest is already wrote, no need to repeat. It is simply pointless to add any other comment. ---------------------------------------------------------------------- Handoko · 2019-01-16 12:32 Quote from: po123 on January 16, 2019, 01:23:36 pm I do no recall I have started this thread... Oh, sorry my mistake. I just want to say, no one single language tool is perfect. The thing that is suitable for one may not suitable for others. Try it yourself, if it is not for you try the others. I am not fanatic, I tried many options but so far Lazarus is the best for me. Asking opinionated questions, usually won't get good answers but bad reactions. Try to ask 'real' questions, you'll get answers from many nice seniors here. ---------------------------------------------------------------------- Pluto · 2019-01-16 14:22 FWIW, I started the thread.  I tried it.  I like it.  I can find sufficient documentation to satisfy my need for instant gratification.  It seems like Lazarus and OP will suit my needs.  If it doesn't work I will use something else, but I doubt I will have to.  So far most people on this forum have been nice and extremely accommodating, even with questions I'm sure they have heard before.  Thank you to all!!!  I am locking the thread.