Resource Bundles in Java: Locating Bundles, Property Files and Bundle Classes
Externalizing user-visible text with ResourceBundle: naming conventions, candidate and default-locale fallback, parent chains, UTF-8 property files, ListResourceBundle classes, ResourceBundle.Control, caching and modules, with a complete localized example.
kvi5hnuCode Sprout team member10 min readOn this page
The previous articles formatted numbers, dates and messages for a locale. The remaining piece is the text itself: labels, messages and other values that differ by language or region. They should not be in the source code, because translators must be able to edit them without touching Java files, and adding a language should not require recompiling anything. Java's mechanism for this is java.util.ResourceBundle: a family of property files or classes, one per locale, that the runtime searches automatically for the best match.
Naming bundles
A bundle family has a base name, such as shop.Messages, and one member per locale. The locale is appended to the base name with underscores, in the same form as Locale.toString():
shop/Messages.properties base bundle (fallback, usually English)
shop/Messages_de.properties German, all regions
shop/Messages_de_CH.properties German, Switzerland: only what differs
shop/Messages_fr.properties French
shop/Messages_zh.properties Chinese
Load a bundle with getBundle, then look up values by key:
ResourceBundle bundle = ResourceBundle.getBundle("shop.Messages", locale);
String label = bundle.getString("checkout");
The base name is a fully qualified name with dots, like a class name; the files live in the corresponding directory on the class path (shop/). A bundle family can be split by topic: one for button labels, one for error messages, one for e-mail templates. Translators then work on smaller files.
How getBundle searches

For getBundle("shop.Messages", de_CH), the runtime first computes the candidate locales by removing parts from the end: de_CH, de, and the root locale. It looks for a bundle for each candidate. The first one that exists becomes the result, and every more general one that exists becomes its parent. When getString does not find a key in a bundle, it asks the parent, and so on up to the base bundle. That is why Messages_de_CH.properties only has to contain the Swiss differences:
| Requested | Bundle returned | checkout | help (only in base and fr) |
|---|---|---|---|
| en_US | base | Check out | Need help? Call us. |
| de_DE | de | Zur Kasse | Need help? Call us. (from the parent) |
| de_CH | de_CH | Zur Kasse gehen | Need help? Call us. |
| fr_FR | fr | Passer à la caisse | Besoin d''aide ? ... (a MessageFormat pattern) |
| ja_JP | base | Check out | Need help? Call us. |
Locales with scripts produce longer candidate lists, and there are special rules: zh_TW also tries zh_Hant_TW and zh_Hant, and Norwegian Bokmål (nb) falls back to no. ResourceBundle.Control.getCandidateLocales documents and computes these lists, as the demo shows.
The default-locale fallback
If none of the candidates for the requested locale exists, except the base bundle, getBundle repeats the search with the default locale before settling for the base bundle. This surprises people. In the demo, with the default locale set to de_DE, a request for ja_JP returns the German bundle, not the English base bundle. And with default en_US, a request for en_GB finds no _en_GB or _en class but does find Units_en_US, so British users get US Letter paper. Two ways to avoid this:
- Provide a bundle for every language you support, and make the base bundle complete.
- Use
ResourceBundle.Control.getNoFallbackControl(Control.FORMAT_DEFAULT)when callinggetBundle, which skips the default-locale step. (Server applications, where the JVM default locale has nothing to do with the user, should usually do this.)
When nothing at all is found, getBundle throws MissingResourceException; so does getString for an unknown key. The exception reports the bundle class and key through getClassName() and getKey().
Property files
Most bundles are .properties files: one key=value per line, # or ! for comments, a trailing backslash to continue a line, and \uXXXX escapes if needed. Keys are case-sensitive.
# shop/Messages_de.properties
greeting=Willkommen im Laden
cart=Ihr Warenkorb enthält {0,choice,0#keine Artikel|1#einen Artikel|1<{0,number,integer} Artikel}, Summe {1,number,currency}.
checkout=Zur Kasse
Since Java 9, property resource bundles are read as UTF-8 (JEP 226), so Grün and 欢迎光临本店 can be written directly. If a file is not valid UTF-8, the loader rereads it as ISO-8859-1, the encoding used before Java 9, so old files with ü escapes or Latin-1 bytes still work. The system property java.util.PropertyResourceBundle.encoding (UTF-8 or ISO-8859-1) forces one encoding.
Values that contain placeholders are MessageFormat patterns (article 74): format them with new MessageFormat(bundle.getString(key), locale).format(args). Remember that patterns need '' for an apostrophe. Formatting every string, even those without placeholders, keeps the quoting rule the same for all entries, as the help entry of the French bundle shows.
Bundle classes
Some locale-specific values are not strings: paper sizes, colors, icons, default settings, even objects with behaviour. A bundle can be a class named after the same convention, extending ResourceBundle. The easiest base class is ListResourceBundle, where you return a table of key/value pairs:
public class Units extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {
{"paperSize", new double[] {210, 297}}, // ISO A4, in mm
{"paperName", "A4"},
};
}
}
public class Units_en_US extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {
{"paperSize", new double[] {215.9, 279.4}}, // US Letter
{"paperName", "Letter"},
};
}
}
Retrieve values with getObject(key) and a cast, or with getString and getStringArray. Bundle classes must be public with a public no-argument constructor (nested classes work too if they are public static; their base name uses $, like Solution$Units). For complete control, extend ResourceBundle directly and implement handleGetObject(String key) and getKeys(); the demo's Shouting bundle computes its values from another bundle.
When a class and a property file have the same name, the default search finds the class first.
Bundle classes give type safety for non-string values, but translators cannot edit them, and every change needs a compiler. Use property files for text and classes only for what cannot be text.
Other ResourceBundle methods
keySet()andgetKeys()include the keys of the parents;handleKeySet()(protected) only the bundle's own.containsKey(key)checks the whole chain without throwing.getLocale()tells you which bundle was actually found, which is useful for logging and for choosing a matching format locale.getBaseBundleName()returns the base name.- Bundles are cached.
ResourceBundle.clearCache()(orclearCache(ClassLoader)) empties the cache, for example after updating files in development.
ResourceBundle.Control and modules
getBundle(baseName, locale, loader, control) takes a ResourceBundle.Control that customizes the process:
getCandidateLocalesandgetFallbackLocalechange the search;getFormatsandnewBundleload other formats, for example bundles stored as JSON, XML or in a database;getTimeToLiveandneedsReloadcontrol caching and reloading;toBundleNameandtoResourceNamechange the naming convention.
This customization works only for code in the class path (the unnamed module). In named modules, the getBundle overloads that take a Control throw UnsupportedOperationException. A module finds its own bundles in its own packages automatically. To supply bundles from another module, for example a separate translation module per language, implement java.util.spi.ResourceBundleProvider (or extend AbstractResourceBundleProvider) and register it as a service with provides ... with ... in module-info.java. The module system does not let getBundle look into other modules' packages, so the service is how bundles cross module boundaries.
A complete example
The demo works like a small online shop. It writes five UTF-8 property files to a temporary directory, loads them through a dedicated class loader, and then:
- shows which bundle is used for each locale and how keys are inherited;
- formats the cart message with
MessageFormatin the user's locale, so the choice text, the number and the currency all follow the locale (de-CH gets Swiss francs and’grouping, fr-FR narrow no-break spaces); - demonstrates the default-locale fallback and
NoFallbackControl; - prints candidate locales, including the special cases for scripts and Norwegian;
- handles missing keys and bundles;
- loads bundle classes with non-string values, including the
en_GBfallback trap; - compares the encodings used by
Properties.loadandPropertyResourceBundle.
import java.io.*;
import java.net.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.*;
import java.text.*;
import java.util.*;
public class Solution {
// Bundle classes: base name "Solution$Units", variants for en_US and de
public static class Units extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {
{"paperSize", new double[] {210, 297}},
{"paperName", "A4"},
{"weekendDays", new String[] {"SATURDAY", "SUNDAY"}},
};
}
}
public static class Units_en_US extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {
{"paperSize", new double[] {215.9, 279.4}},
{"paperName", "Letter"},
};
}
}
public static class Units_de extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {{"paperName", "DIN A4"}};
}
}
// A bundle computed on the fly: handleGetObject + handleKeySet
public static class Shouting extends ResourceBundle {
private final ResourceBundle source;
Shouting(ResourceBundle source) { this.source = source; }
@Override protected Object handleGetObject(String key) {
return source.containsKey(key) ? source.getString(key).toUpperCase(Locale.ROOT) + "!" : null;
}
@Override public Enumeration<String> getKeys() { return source.getKeys(); }
}
public static void main(String[] args) throws Exception {
Locale.setDefault(Locale.US);
Path dir = Files.createTempDirectory("bundles");
try {
write(dir, "shop/Messages.properties", """
# Fallback bundle (English)
greeting=Welcome to the shop
cart=Your cart contains {0,choice,0#no items|1#one item|1<{0,number,integer} items}, total {1,number,currency}.
checkout=Check out
help=Need help? Call us.
""");
write(dir, "shop/Messages_de.properties", """
greeting=Willkommen im Laden
cart=Ihr Warenkorb enthält {0,choice,0#keine Artikel|1#einen Artikel|1<{0,number,integer} Artikel}, Summe {1,number,currency}.
checkout=Zur Kasse
""");
write(dir, "shop/Messages_de_CH.properties", """
checkout=Zur Kasse gehen
""");
write(dir, "shop/Messages_fr.properties", """
greeting=Bienvenue dans la boutique
cart=Votre panier contient {0,choice,0#aucun article|1#un article|1<{0,number,integer} articles}, total {1,number,currency}.
checkout=Passer \\u00e0 la caisse
help=Besoin d''aide ? Appelez-nous.
""");
write(dir, "shop/Messages_zh.properties", """
greeting=欢迎光临本店
cart=您的购物车中有 {0,number,integer} 件商品,总计 {1,number,currency}。
checkout=结账
""");
try (URLClassLoader loader = new URLClassLoader(new URL[] {dir.toUri().toURL()}, null)) {
System.out.println("== Lookup with parent chain ==");
for (Locale loc : List.of(Locale.US, Locale.GERMANY, Locale.of("de", "CH"),
Locale.FRANCE, Locale.CHINA, Locale.JAPAN)) {
ResourceBundle b = ResourceBundle.getBundle("shop.Messages", loc, loader);
System.out.printf("%-6s bundle locale=%-6s checkout=%s | help=%s%n", loc,
b.getLocale().toString().isEmpty() ? "(base)" : b.getLocale(),
b.getString("checkout"), b.getString("help"));
}
System.out.println("\n== Messages through MessageFormat ==");
for (Locale loc : List.of(Locale.US, Locale.GERMANY, Locale.of("de", "CH"), Locale.FRANCE, Locale.CHINA)) {
ResourceBundle b = ResourceBundle.getBundle("shop.Messages", loc, loader);
for (int items : new int[] {1, 3}) {
MessageFormat mf = new MessageFormat(b.getString("cart"), loc);
System.out.println(loc + ": " + v(mf.format(new Object[] {items, 1234.5})));
}
}
ResourceBundle fr = ResourceBundle.getBundle("shop.Messages", Locale.FRANCE, loader);
System.out.println("raw help (fr): " + fr.getString("help"));
System.out.println("formatted help (fr): " + MessageFormat.format(fr.getString("help"), new Object[0]));
System.out.println("\n== Fallback to the default locale ==");
Locale.setDefault(Locale.GERMANY);
ResourceBundle.clearCache(loader);
ResourceBundle ja = ResourceBundle.getBundle("shop.Messages", Locale.JAPAN, loader);
System.out.println("ja with default de_DE -> " + ja.getLocale() + ": " + ja.getString("greeting"));
ResourceBundle jaNoFallback = ResourceBundle.getBundle("shop.Messages", Locale.JAPAN, loader,
ResourceBundle.Control.getNoFallbackControl(ResourceBundle.Control.FORMAT_DEFAULT));
System.out.println("ja with NoFallbackControl -> " + (jaNoFallback.getLocale().toString().isEmpty()
? "(base)" : jaNoFallback.getLocale()) + ": " + jaNoFallback.getString("greeting"));
Locale.setDefault(Locale.US);
System.out.println("\n== Candidate locales ==");
ResourceBundle.Control control = ResourceBundle.Control.getControl(ResourceBundle.Control.FORMAT_DEFAULT);
for (String tag : List.of("de-CH", "sr-Latn-RS", "zh-TW", "nb-NO")) {
System.out.println(tag + " -> " + control.getCandidateLocales("shop.Messages", Locale.forLanguageTag(tag)));
}
System.out.println("bundle name for de_CH: " + control.toBundleName("shop.Messages", Locale.of("de", "CH")));
System.out.println("\n== Keys and missing resources ==");
ResourceBundle ch = ResourceBundle.getBundle("shop.Messages", Locale.of("de", "CH"), loader);
System.out.println("all keys: " + new TreeSet<>(ch.keySet()));
System.out.println("containsKey(\"help\"): " + ch.containsKey("help"));
try {
ch.getString("logout");
} catch (MissingResourceException e) {
System.out.println("MissingResourceException: key=" + e.getKey() + ", class=" + e.getClassName());
}
try {
ResourceBundle.getBundle("shop.Nothing", Locale.US, loader);
} catch (MissingResourceException e) {
System.out.println("missing bundle: " + e.getMessage());
}
}
System.out.println("\n== Bundle classes with non-string values ==");
for (Locale loc : List.of(Locale.US, Locale.GERMANY, Locale.UK)) {
ResourceBundle units = ResourceBundle.getBundle("Solution$Units", loc);
double[] size = (double[]) units.getObject("paperSize");
System.out.printf("%-6s %-7s %s mm, weekend %s%n", loc, units.getString("paperName"),
Arrays.toString(size), Arrays.toString(units.getStringArray("weekendDays")));
}
System.out.println("\n== A computed bundle ==");
ResourceBundle de = ResourceBundle.getBundle("Solution$Units", Locale.GERMANY);
System.out.println(new Shouting(de).getString("paperName"));
System.out.println("\n== Properties files and encodings ==");
Path legacy = dir.resolve("legacy.properties");
Files.writeString(legacy, "color=Grün\n", StandardCharsets.UTF_8);
Properties p = new Properties();
try (InputStream in = Files.newInputStream(legacy)) {
p.load(in);
}
System.out.println("Properties.load(InputStream) assumes ISO-8859-1: " + p.getProperty("color"));
try (Reader r = Files.newBufferedReader(legacy)) {
p.load(r);
}
System.out.println("Properties.load(Reader) in UTF-8: " + p.getProperty("color"));
try (InputStream in = Files.newInputStream(legacy)) {
System.out.println("PropertyResourceBundle(InputStream) reads UTF-8: "
+ new PropertyResourceBundle(in).getString("color"));
}
} finally {
try (var files = Files.walk(dir)) {
files.sorted(Comparator.reverseOrder()).forEach(f -> f.toFile().delete());
}
}
}
static void write(Path dir, String name, String content) throws IOException {
Path p = dir.resolve(name);
Files.createDirectories(p.getParent());
Files.writeString(p, content, StandardCharsets.UTF_8);
}
static String v(String s) {
return s.replace("\u202f", "<NNBSP>").replace("\u00a0", "<NBSP>");
}
}
== Lookup with parent chain ==
en_US bundle locale=(base) checkout=Check out | help=Need help? Call us.
de_DE bundle locale=de checkout=Zur Kasse | help=Need help? Call us.
de_CH bundle locale=de_CH checkout=Zur Kasse gehen | help=Need help? Call us.
fr_FR bundle locale=fr checkout=Passer à la caisse | help=Besoin d''aide ? Appelez-nous.
zh_CN bundle locale=zh checkout=结账 | help=Need help? Call us.
ja_JP bundle locale=(base) checkout=Check out | help=Need help? Call us.
== Messages through MessageFormat ==
en_US: Your cart contains one item, total $1,234.50.
en_US: Your cart contains 3 items, total $1,234.50.
de_DE: Ihr Warenkorb enthält einen Artikel, Summe 1.234,50<NBSP>€.
de_DE: Ihr Warenkorb enthält 3 Artikel, Summe 1.234,50<NBSP>€.
de_CH: Ihr Warenkorb enthält einen Artikel, Summe CHF<NBSP>1’234.50.
de_CH: Ihr Warenkorb enthält 3 Artikel, Summe CHF<NBSP>1’234.50.
fr_FR: Votre panier contient un article, total 1<NNBSP>234,50<NBSP>€.
fr_FR: Votre panier contient 3 articles, total 1<NNBSP>234,50<NBSP>€.
zh_CN: 您的购物车中有 1 件商品,总计 ¥1,234.50。
zh_CN: 您的购物车中有 3 件商品,总计 ¥1,234.50。
raw help (fr): Besoin d''aide ? Appelez-nous.
formatted help (fr): Besoin d'aide ? Appelez-nous.
== Fallback to the default locale ==
ja with default de_DE -> de: Willkommen im Laden
ja with NoFallbackControl -> (base): Welcome to the shop
== Candidate locales ==
de-CH -> [de_CH, de, ]
sr-Latn-RS -> [sr_RS_#Latn, sr__#Latn, sr_RS, sr, ]
zh-TW -> [zh_TW_#Hant, zh__#Hant, zh_TW, zh, ]
nb-NO -> [nb_NO, no_NO, nb, no, ]
bundle name for de_CH: shop.Messages_de_CH
== Keys and missing resources ==
all keys: [cart, checkout, greeting, help]
containsKey("help"): true
MissingResourceException: key=logout, class=java.util.PropertyResourceBundle
missing bundle: Can't find bundle for base name shop.Nothing, locale en_US
== Bundle classes with non-string values ==
en_US Letter [215.9, 279.4] mm, weekend [SATURDAY, SUNDAY]
de_DE DIN A4 [210.0, 297.0] mm, weekend [SATURDAY, SUNDAY]
en_GB Letter [215.9, 279.4] mm, weekend [SATURDAY, SUNDAY]
== A computed bundle ==
DIN A4!
== Properties files and encodings ==
Properties.load(InputStream) assumes ISO-8859-1: Grün
Properties.load(Reader) in UTF-8: Grün
PropertyResourceBundle(InputStream) reads UTF-8: Grün
Common questions
Where do I put the .properties files in a Maven or Gradle project?
In src/main/resources, in the directory matching the base name: shop.Messages lives in src/main/resources/shop/Messages.properties. They end up on the class path next to the classes.
Are bundles cached? How do I reload changed files?
Yes, getBundle caches loaded bundles per class loader. ResourceBundle.clearCache() empties the cache, and a custom Control can set a time-to-live with getTimeToLive. For translations that change at run time, a database-backed bundle is often a better design.
How do I find missing translations? Compare the key sets of each locale's file with the base file in a unit test, and fail when keys are missing or unused. Tools such as IDE inspections, or the i18n plugins of build tools, report the same.
Should keys be English text or identifiers?
Identifiers like cart.empty or error.notFound are more stable: fixing a typo in English doesn't change every translation's key. Group them with dotted prefixes by screen or feature.
How do frameworks handle this?
Spring's MessageSource, Jakarta Faces, Quarkus and others build on ResourceBundle or the same file conventions, adding locale resolution per request. The fallback rules in this article, including the default-locale trap, apply to most of them unless configured otherwise. Spring, for example, has a fallbackToSystemLocale setting.
API reference
| Method | Purpose |
|---|---|
ResourceBundle.getBundle(baseName[, locale][, loader][, control]) | find and load a bundle with its parents |
getBundle(baseName, Module) / getBundle(baseName, locale, Module) | load for a specific module |
getString, getStringArray, getObject | look up values (searching parents) |
containsKey, keySet, getKeys, getLocale, getBaseBundleName | inspect a bundle |
ResourceBundle.clearCache([loader]) | discard cached bundles |
ListResourceBundle.getContents() | table-based bundle class |
handleGetObject, handleKeySet | implement a custom bundle |
PropertyResourceBundle(InputStream or Reader) | bundle from a properties stream |
Control.getCandidateLocales, getFallbackLocale, getNoFallbackControl, toBundleName, newBundle, getTimeToLive | customize loading (unnamed module only) |
java.util.spi.ResourceBundleProvider | supply bundles across modules |
MissingResourceException.getClassName(), getKey() | error details |
Summary
- Keep user-visible text in resource bundles named
base_language_REGION, with a complete base bundle as the final fallback. getBundletries the requested locale, then the default locale, then the base bundle; the bundles found form a parent chain for key lookups.- The default-locale step can return the wrong language; use
Control.getNoFallbackControlin servers or provide all languages. - Property bundles are UTF-8 since Java 9, but
Properties.load(InputStream)still reads ISO-8859-1. - Treat values with placeholders as
MessageFormatpatterns and format them with the user's locale. - Use
ListResourceBundleclasses for non-string values; classes take precedence over property files with the same name. ResourceBundle.Controlcustomizes loading on the class path; in named modules useResourceBundleProviderservices.
Practice Questions
1. An application has Messages.properties (English) and Messages_de.properties. A French user on a server whose default locale is de_DE sees German text. Why, and how do you fix it?
No candidate for fr_FR (Messages_fr_FR, Messages_fr) exists, so getBundle falls back to the default locale de_DE before using the base bundle, and finds Messages_de. Either add a French bundle, or call getBundle with ResourceBundle.Control.getNoFallbackControl(Control.FORMAT_DEFAULT) so that unsupported languages get the base bundle. Do not rely on the JVM default locale for per-user behaviour on servers.
2. Messages_de_AT.properties contains only one key. What happens when an Austrian user asks for a key that is not in it?
The bundle for de_AT has Messages_de (if it exists) and then Messages as parents. getString searches the chain and returns the first value found, so the Austrian file only needs the entries that differ from standard German.
3. A Properties object loaded with props.load(new FileInputStream("app.properties")) shows "Grün" instead of "Grün". Why does ResourceBundle.getBundle read the same file correctly?
Properties.load(InputStream) always decodes ISO-8859-1, so the two UTF-8 bytes of ü become two Latin-1 characters. Since Java 9, PropertyResourceBundle (used by getBundle) reads UTF-8 and only falls back to ISO-8859-1 for invalid UTF-8. Use props.load(Files.newBufferedReader(path, StandardCharsets.UTF_8)).
4. When should a bundle be a class rather than a property file?
When its values are not strings, or not easily represented as strings: numeric arrays, colors, images, objects with behaviour, or values computed at load time. Classes are type-safe but must be compiled and cannot be edited by translators, so text belongs in property files even when other values for the same locale live in a class.
5. A modular application calls ResourceBundle.getBundle("app.Messages", locale, myControl) and gets UnsupportedOperationException. What is the modular way to customize bundle loading?
ResourceBundle.Control is supported only for the unnamed module; the Control overloads throw when called from a named module. Bundles in the caller's own module are found without help. To load bundles from other modules, or in another format, implement java.util.spi.ResourceBundleProvider (for example by extending AbstractResourceBundleProvider), declare a service interface for it, and register it with provides in module-info.java; the calling module declares uses.
Previous: Text Boundaries, Line Endings, Console and Encodings in Java
Next: Invoking the Java Compiler from Code: JavaCompiler, Tasks and Diagnostics
Related reading
- Java Regular Expressions: Syntax, Character Classes and Quantifiers
- The Java Serialization File Format: Handles, Class Descriptors and Fingerprints
- Java Reflection and Generics: Class<T>, Type Tokens and the Type Interface
- Java Generics Inheritance Rules and Wildcards: extends, super and ?
- Java Generics: Generic Classes and Generic Methods

More in Core Java II
FFM Upcalls, Variadic Functions and errno
Advanced FFM calls: passing Java code to C as function pointers with upcall stubs, binding objects and lambdas, calling variadic functions such as printf, capturing errno and GetLastError, and a C library that calls back into Java. The final article of the course.
Calling Foreign Functions: Linker, Symbol Lookup, Downcalls and jextract
Calling C functions from pure Java with the FFM API: the native linker, default, library and loader symbol lookups, function descriptors, downcall handles, invokeExact, pointers and NULL, struct results, critical calls, enabling native access, and generating bindings with jextract.
FFM Memory Layouts: Structs, Unions, Sequences and Var Handles
Describing C data with FFM memory layouts: value layouts and C types, struct and union layouts, alignment and padding, sequences, layout paths, var handles with base offsets, offset and slice handles, pointers with target layouts, and atomic access modes.
Foreign Function and Memory API: Arenas and Memory Segments
Getting started with the FFM API (final since Java 22): a first foreign call, confined, shared, automatic and global arenas, native and heap memory segments, reading and writing values, C strings and arrays, alignment and byte order, slices, copies, allocators, and memory-mapped files.
Discussion
Sign in to ask a question or share what you learned.