Monday, July 8, 2024

New Programming Languages

The use of Chat GPT really speeds projects up you don't need to search for things you just type commands. 


Was informed about how really this libraries are working like SDL and Ray Lib  they are kind of wrappers to xlib and OpenGL which are direct library to work width.

A side note : no one in a couple of years of search was able to tell how this stuff as doing. This is really a advantage to use ChatGPT.

Once i explored this 2 librarys I could see how the C language is praticaly dead from the point of view of development. Both C and C++ are propertery licenseded they do not have open repositorys. Which translating they don't evolve. 

Also to add to this C have great amount of bugs which are not easy to fix by non C expert. This thing are supose to be fixed at development level not at code. 

Most of these stuff in C take ages of configuring, like: strings, loops, types. No serius developer whant to configure these things. Because why do it at local level : "all most also do it", when it can be done at language level and is available to every one.

So i though ?! no point in using C and assembly is to complicated for or neededs. Then check the development of new languages and find out a lot of information. This guy is gathering information on the main programing languages being develop at the moment.

He is set on github : https://github.com/robertmuth/awesome-low-level-programming-languages

and come out width this list. I explored them a bit and a few stand up from the rest. They all if not most attempt to replace C at low level language:

  •  Odin seems nice is a programing language already being used in comercial. if you check their github rep is extremly active it have updates just a couple days ago and so many forks and contributers. A note on Odin it seem focus on game development which so many intuasiastes : "we may see a implementation of a new laguage";
  • C3 also seems great but i don't see that much activity as in Odin. The concept of adding new things to the old C seems the way to go or at least a good solution. You get the style that you like width updated things like boolenas and foreach loops and classes;
  • People in the comments talk about : Rust, (Odin) Nim and Zig; watched a video on youtube about Zig this lone guy width "just a few hours analising C code updated and fix it". "There isn't not much interest in updating this things" by the companys behind it...
  • D also seem stable is being use at company level and they put all their work out there seems  nice; A note on D it have many inovating stuff like : unitests, interfaces, classes and so on...
  • Other do a lot of stuff for web like Crystal also seem realy adavantage;
  • Rust is also debated Thing. Is being used in Firefox which shows how people don't trust C that much.
  • Some represents this style of not using pontuation. People that prefer Python look it is also available at low level.
  • The conclusion : all this people have done their share and are doing a great work in implementing new languages.


  • ATS
  • Ada
  • Alumina
  • Beef
  • C2
  • C3
  • Carp
  • Cone
  • Crystal
  • CSpydr
  • D
  • Forth
  • Hare
  • Hylo (formerly: Val)
  • Jai
  • Kit
  • Lobster
  • Modula-2
  • Nim
  • Oberon
  • Odin
  • Pascal (FreePascal)
  • Rust
  • Scopes
  • V
  • Vale
  • Vox
  • Zig

We can check a GUI implementation for Odin in github. the code is so small to implement a full interface. A lot of stuff being wrapped. 




Can check for your self how only a few line of code created all this that u see in the image: https://github.com/kcvinker/Winforms?tab=readme-ov-file

Another example working directly in the web browser

https://floooh.github.io/sokol-html5/sgl-microui-sapp.html 

This two examples on Odin look ok, others may also be nice. it will take some time to see which are the more stables but they all if not most seems very active. 

 

 


No comments:

Post a Comment

hi

Odin Programming & array programming

 At their site or in the manual we can read array programming which is something is heavly used in PHP. Think one of the best things to use....