<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java on Notities</title><link>https://www.vandenboom.icu/en/tags/java/</link><description>Recent content in Java on Notities</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 22 Mar 2025 19:32:21 +0000</lastBuildDate><atom:link href="https://www.vandenboom.icu/en/tags/java/index.xml" rel="self" type="application/rss+xml"/><item><title>Use of Golang, Java, C/C++, or Rust: A Quick Guide</title><link>https://www.vandenboom.icu/en/blog/2025-use-of-golang-java-c-c-or-rust-a-quick-guide/</link><pubDate>Sat, 22 Mar 2025 19:32:21 +0000</pubDate><guid>https://www.vandenboom.icu/en/blog/2025-use-of-golang-java-c-c-or-rust-a-quick-guide/</guid><description>For real-time applications, Go and Rust are the top choices due to their lightweight concurrency and memory efficiency. Combine them for a balanced approach: Go for high-level logic and Rust for performance-critical tasks. Use C/C++ for legacy systems and Java for enterprise-level applications where real-time performance is less critical.
When using Go, the chance of classic concurrency errors like race conditions, deadlocks, and resource leaks is significantly reduced. This is thanks to Go&amp;rsquo;s use of channels for safe communication between goroutines and its built-in garbage collector, which works seamlessly with the goroutine scheduler.</description></item><item><title>Java convert a variabele for it to be printed in a price format related to country settings</title><link>https://www.vandenboom.icu/en/blog/2025-java-convert-a-variabele-for-it-to-be-printed-in-a-price-format-related-to-country-settings/</link><pubDate>Sun, 05 Jan 2025 20:09:27 +0000</pubDate><guid>https://www.vandenboom.icu/en/blog/2025-java-convert-a-variabele-for-it-to-be-printed-in-a-price-format-related-to-country-settings/</guid><description>F﻿or Dutch Euro use: .getCurrencyInstance(new Locale(&amp;ldquo;nl&amp;rdquo;, &amp;ldquo;NL&amp;rdquo;))
F﻿or Swiss Franc use: .getCurrencyInstance(new Locale(&amp;ldquo;de&amp;rdquo;, &amp;ldquo;CH&amp;rdquo;))
import java.text.NumberFormat; import java.util.Locale; public class prog_002_variables { public static void main(String[] args){ String message; int year; double prijs; message = &amp;#34;De beste wensen voor: &amp;#34;; year = 2025; prijs = 2.50; // Combine the creation of the Locale and the NumberFormat in one line NumberFormat currencyFormat; currencyFormat = NumberFormat.getCurrencyInstance(new Locale(&amp;#34;nl&amp;#34;, &amp;#34;NL&amp;#34;)); System.out.println(message + year + &amp;#34;, een frikandel kost nu: &amp;#34; + currencyFormat.</description></item><item><title>Multiple versions of Java on macOS</title><link>https://www.vandenboom.icu/en/blog/2023-multiple-versions-of-java-on-macos/</link><pubDate>Wed, 27 Sep 2023 17:43:18 +0000</pubDate><guid>https://www.vandenboom.icu/en/blog/2023-multiple-versions-of-java-on-macos/</guid><description>$ ls -al /usr/local/opt/ | grep -i openjdk $ brew install jenv $ jenv add /Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home/ $ jenv versions $ jenv local 1.8 $ java -version $ jenv global 1.8 $ java -version $ jenv shell 1.8 $ java -version $ jenv versions</description></item></channel></rss>