Overview Features Instructions Performance Forum Downloads Products OrderV4 Reseller Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Running Games and Apps.

Is There An Interest In Coding In Vampire BASIC ?page  1 2 

Samuel Crow

Posts 387
08 May 2020 10:14


Vladimir Repcak wrote:
The VRBasic code gets translated into C (via my .NET-based backend), which then gets fed into your local C compiler (producing the executable).
 
  Jaguar-specific functionality was written in Assembler, so this portion would have to be rewritten, but this obviously means the direct SAGA support, potential of using AMMX, etc.
 
  I had it set up in Notepad++, where I just hit F5, it runs the build script and deploys it to Jaguar (via Skunkboard).
 
  I could reuse my current WinUAE deployment script for straight testing on the emulator. Later, deployment to HW can of course happen.

Questions:  What DotNET features does it use that couldn't be done with a plain C library?  Would Core DotNET on Linux or Mac be sufficient to run the transpiler?

I am asking because I wanted to make a transpiler for the Amos Kittens programming environment.  (Kittens is a portable Amos interpreter for graphics card systems starting with AmigaOS 4.)


Vladimir Repcak

Posts 327
08 May 2020 11:55


Samuel Crow wrote:

  Questions:  What DotNET features does it use that couldn't be done with a plain C library?  Would Core DotNET on Linux or Mac be sufficient to run the transpiler?
 
  I am asking because I wanted to make a transpiler for the Amos Kittens programming environment.  (Kittens is a portable Amos interpreter for graphics card systems starting with AmigaOS 4.)

.NET is extremely quick to prototype with.
Strings in C++ are a hot mess even in 2020.

.NET allows you to chain multiple string functionality into a single line without any work on your side.

I'm using the exact same backend for my Higgs compiler. Even though I've professionally used C++ for 20 years, but it's just ridiculous for home use.

I would never have my Higgs compiler if I was using C for string manipulation. The things I can do during debugging would take me 10x longer if I was using C++.

I'm not saying the things above are impossible in C++. Anything is possible in C++.

As long as some rich corporation is paying me an hourly rate to play with C++ :)

Also, exceptions within .NET tell you exactly what has happened and where (unlike C++ which is extremely vague).

Hell, I'm not even catching exceptions for my Higgs compiler. The runtime's error message is completely self-explanatory without me having to even write an error handler :)

Oh, and the code in .NET is pretty self-explanatory even if I don't see it for 6 months.

Good luck with C++ templates and generic programming getting back into that code :)




Amano Jyaku

Posts 6
08 May 2020 15:10


Steve Ferrell wrote:

  The archive that I linked in my earlier post contains the Amiga IDE and the compiler, support files and some coding examples.  No where did I state it contained the sources.  You can also find the Amiga compiler on Aminet at:  EXTERNAL LINK   
  If you want the sources, contact Frederic by email: alphasnd at purebasic.com

But I do state that the archives contain sources.
The sources for the libraries, the IDE and the debugger are in PureBasic/Sources folder.
Only the compiler sources were not released/included.



Steve Ferrell

Posts 393
09 May 2020 07:33


Amano Jyaku wrote:

Steve Ferrell wrote:

  The archive that I linked in my earlier post contains the Amiga IDE and the compiler, support files and some coding examples.  No where did I state it contained the sources.  You can also find the Amiga compiler on Aminet at:  EXTERNAL LINK   
  If you want the sources, contact Frederic by email: alphasnd at purebasic.com
 

 
  But I do state that the archives contain sources.
  The sources for the libraries, the IDE and the debugger are in PureBasic/Sources folder.
  Only the compiler sources were not released/included.
 

Exactly, and I will state for at least the 3rd time if you want the compiler sources, email Frederic.  He usually responds to emails within 24 hours.



Samuel Crow

Posts 387
09 May 2020 13:15


@Vladimir Repcak

If you expect me to run Vampire BASIC, it had better run flawlessly under Linux.  Core DotNET will do DotNET strings, I am almost certain.  If it's open-source, I can rewrite your compiler in Hollywood and then it will even run on a Vampire natively.

If you don't expect me to run Vampire BASIC ever, write it for Windows and I won't ever run it.


Vladimir Repcak

Posts 327
09 May 2020 13:52



There's been some progress in the .NET libraries on Linux in recent years (there was one open-source project to provide those libs), but I honestly haven't checked on it last few years.

I personally view personal Linux usage the same way as if somebody prefers directly to code on the 30-year old computer and 11" CRT monitor.

I would never do that personally at home, but if it gives somebody a pleasure, why not ?

Having been exposed to Linux environment during last 20 years in my professional career has completely destroyed any lingering positive emotions I ever had towards Linux.

In my last job I managed 20+ Redhat Linux servers on a 24/7 basis, being woken up after half an hour of sleep few times a week, and troubleshooting it under the gun (live financial TV is a very fun environment :) ) has completely removed any purple glasses I ever wore when thinking about Linux :)

Anecdotally, the Windows servers were always stable as rock. But Redhat, jesus fucking Christ what an incredible mess...



Amano Jyaku

Posts 6
09 May 2020 16:45


Steve Ferrell wrote:

The Amiga version is available at no cost and the source code for the Amiga version has been open-sourced.

The only thing I stated that the source of the compiler was not open-sourced and was not included in linked archives.

Steve Ferrell wrote:

Exactly, and I will state for at least the 3rd time if you want the compiler sources, email Frederic.  He usually responds to emails within 24 hours.

This is actually the very first time you stated that by "sources" you meant "compiler sources".


Steve Ferrell

Posts 393
09 May 2020 17:49


Amano Jyaku wrote:

Steve Ferrell wrote:

  The Amiga version is available at no cost and the source code for the Amiga version has been open-sourced.
 

 
  The only thing I stated that the source of the compiler was not open-sourced and was not included in linked archives.
 
 
Steve Ferrell wrote:

  Exactly, and I will state for at least the 3rd time if you want the compiler sources, email Frederic.  He usually responds to emails within 24 hours.
 

 
  This is actually the very first time you stated that by "sources" you meant "compiler sources".

FFS, if you want the sources, contact Frederic.....I even provided his email address in an earlier post but you obviously aren't interested in contacting him and just want to argue over what the term "sources" actually means. 

Again, his email address is:  alphasnd at purebasic.com

Email him and get the sources or don't.  I'm done responding to you.


Amano Jyaku

Posts 6
09 May 2020 20:40


Steve Ferrell wrote:

  FFS, if you want the sources...

Never said I wanted the sources.
Originally I shared some additional information regarding the open-sourced PureBasic Amiga archives, but you clearly took it as a personal attack.
It's been a pleasure, Steve :)

posts 29page  1 2