Some newer programming language notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{stub}}
{{stub}}
<!--
<!--
In terms of goals, Rust is sort of a much cleaner take on C++ - offering similar speed, similar abstractions, even a similar up-front learning curve, but more safety.
 
In terms of goals, Rust tries to be a cleaner take on C++ - offering  
similar speed,  
similar abstractions,  
even a similar up-front learning curve,  
but more/easier safety.




Line 49: Line 54:


-->
-->


==Kotlin==
==Kotlin==
Line 58: Line 61:




It also runs on the JVM, and in most cases generates very similar bytecode, usually has basically the same runtime speed, and similar compilation speed.
It also runs on the Java VM, and in most cases generates very similar bytecode, usually has basically the same runtime speed, and similar compilation speed.


The language is also close enough to Java that existing Java tools should have no problem with it, so adoption can be smooth, even gradual.
The language is also close enough to Java that existing Java tools should have no problem with it, so adoption can be smooth, even gradual.
Line 69: Line 72:


http://www.diva-portal.org/smash/get/diva2:1231573/FULLTEXT01.pdf
http://www.diva-portal.org/smash/get/diva2:1231573/FULLTEXT01.pdf


==Dart==
==Dart==
Line 84: Line 84:




Intended to be compiled to machine code ''or ''JS'' for web use.
Intended to be compiled to  
 
* machine code ''or''
 
* JS for web use.




Line 93: Line 93:


-->
-->


==Go==
==Go==

Latest revision as of 17:53, 16 April 2024

Rust

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Kotlin

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Kotlin's aim seems to be a more concise variation of Java, plus some functional-isms.


It also runs on the Java VM, and in most cases generates very similar bytecode, usually has basically the same runtime speed, and similar compilation speed.

The language is also close enough to Java that existing Java tools should have no problem with it, so adoption can be smooth, even gradual.


Popularized by Google for use on Android (verify)


https://kotlinlang.org/

http://www.diva-portal.org/smash/get/diva2:1231573/FULLTEXT01.pdf

Dart

Go

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.