Vlang

=== vlang ===
https://project-awesome.org/vlang/awesome-v 
https://vlang.io/compare comparison between vlang, go, rust and nim 
http://vlang.io/ and https://modules.vlang.io/ 
https://github.com/vlang/vorum 
https://github.com/vlang/v/tree/master/examples/tetris 
https://github.com/vlang/v/blob/master/doc/docs.md 
https://github.com/vlang/awesome-v 
https://github.com/vlang/doom 
=== shell ===
https://levelup.gitconnected.com/vlang-for-automation-scripting-5d977ee97de
=== ml ===
https://github.com/holder66/hamnn hamming functions machine learning on datasets, replaces matlab etc.
=== memory management ===
http://aardappel.github.io/lobster/memory_management.html
=== compile times ===
https://www.reddit.com/r/vlang/comments/nnza5e/what_are_the_advantages_and_disadvantages_of_vlang/
I’m not satisfied with “compile times are ok as long as you do x y and z correctly”. Ive been working on massive elixir/Erlang projects the last 5 years and its really annoying to stop building features every few weeks to tune compile times. And with diminishing returns. Theres only so much you can do north of 200k lines. Youre going to be waiting 20s-60s after literary every change you make. Swift/rust are even worse than elixir at those sizes. Its hard to build a self sustaining company with a project that isn’t growing and adding features like that. So thats why i like vlang and go, you can keep delivering customer value, as a monolith, for years without slowing down your development feedback loop
=== mediawiki ===
This code checks the HTTP status code of the response to ensure that the new page was created successfully, and prints an appropriate message depending on the result. That's it! With these steps, you can create a new page using the MediaWiki API in your Vlang script.
Replace your_edit_token_here with your actual edit token, and make sure that you have installed the requests library for Vlang using the command v install requests. When you run this script, it will send a POST request to the MediaWiki API with the appropriate parameters to create a new page with the specified title and content. The script will then check the response from the API to ensure that the new page was created successfully, and print an appropriate message depending on the result.
import requests
const api_url := "https://en.wikipedia.org/w/api.php"
const page_title := "My_New_Page"
const page_content := "This is the content of my new page."
const edit_token := "your_edit_token_here"
const summary := "Creating my new page using the MediaWiki API"
fn main() {
 const params := map{
 "action": "edit",
 "title": page_title,
 "text": page_content,
 "token": edit_token,
 "summary": summary,
 "format": "json",
 }
 response := requests.post(api_url, params=params)
 if response.status_code == 200 {
 println("New page created: $page_title")
 } else {
 println("Error creating new page: ${response.content}")
 }
}
Note that you will need to obtain an edit token to use the API, which can be obtained by sending a login request to the MediaWiki API.
Send a POST request to the MediaWiki API endpoint with the appropriate parameters to create a new page. For example:
const params := map{
 "action": "edit",
 "title": page_title,
 "text": page_content,
 "token": edit_token,
 "summary": summary,
 "format": "json",
}
response := requests.post(api_url, params=params)
This code sends a POST request to the MediaWiki API with the edit action, the title and content of the new page, the edit token, a summary of the edit, and the format of the response (in this case, JSON). Check the response from the API to ensure that the new page was created successfully. For example:
if response.status_code == 200 {
 // Page was created successfully
 println("New page created: $page_title")
} else {
 // Error occurred while creating page
 println("Error creating new page: ${response.content}")
}
=== links ===
https://www.youtube.com/watch?v=j47Hk5qE9As primeagen 19 
https://github.com/ldedev/Json2V/blob/main/README.md json to vlang structs 
https://pastebin.com/Em6Hy2ed install vlang from source 
https://www.amazon.com/gp/product/1839213434 vlang book 
https://github.com/peregrine-lang/Peregrine/tree/rewrite written in vlang 
https://odin-lang.org/docs/faq/#is-odin-an-objective-oriented-language 
Oop , Nim lang 
rust is Haskell 
Category:Oop
Category:Programming languages