#Development #Techniques
Bulletproof web component loading · How to ensure they work predictably every time. https://ilo.im/1658l1

_____
#Reliability #Initialization #WebComponents #WebDev #Frontend #DOM #HTML #JavaScript

Bulletproof web component loading

Today, I wanted to talk about the “right” way to load web components to ensure they work predictably every time. Let’s dig in! The challenge Web components are self instantiating. Let’s imagine you’re creating a table of contents. When you use a traditional JavaScript library, you explicitly instantiate the library on a specific element. <div id="toc"></div>const myTOC = new TableOfContents('#toc'); But with web components, all you need to do is include the custom element associated with the component.

🚀 Oh, rejoice! Another riveting tale about #C++ #static #initialization that absolutely no one asked for. 🤓 Let's all pretend we're fascinated by the groundbreaking revelation that statics aren't on the stack. Truly, a revelation for the ages! 🙄
https://cofault.com/zero-cost-static.html #C++ #programming #software #development #tech #news #coding #humor #HackerNews #ngated
a very occasional diary @ Nikita Danilov | Zero-cost statics in C++

a very occasional diary @ Nikita Danilov | Zero-cost statics in C++

Blogged: A Dynamic Initialization Deep-Dive: Abusing Initialization Side Effects

In #C++, you may want to run code (with side effects) before your `main()`. This article explores how that's possible and tries to sketch some aspects of how #initialization of a C++ program works.

https://www.lukas-barth.net/blog/dynamic_initialization_deep_dive_plugin_registration/?s=fv

#cpp #cplusplus

Note: Replies to this post will be visible as comments on the blog.

A Dynamic Initialization Deep-Dive: Abusing Initialization Side Effects | Lukas Barth

This article explores how to exploit side effects during dynamic initialization. It gives an overview over how dynamic initialization works in a typical C++ executable on Linux.

Lukas Barth
Initialization in C++ is bonkers

Personal blog and CV for Sy Brand

[Перевод] Глубокое погружение в процедуру запуска JVM

Новый перевод от команды Spring АйО расскажет вам, что происходит при запуске самого простого приложения на Java, какие шаги выполняет JVM, сколько классов ей необходимо загрузить, чтобы просто написать “Hello World!” и как все это выглядит на уровне byte code.

https://habr.com/ru/companies/spring_aio/articles/881128/

#java #startup #jvm #byte_code #garbage_collector #method_area #cds #loading #linking #initialization

Глубокое погружение в процедуру запуска JVM

Новый перевод от команды Spring АйО расскажет вам, что происходит при запуске самого простого приложения на Java, какие шаги выполняет JVM, сколько классов ей необходимо загрузить, чтобы просто...

Хабр

Ugh! It’s tough to keep such #CPlusPlus rules in your head while #programming in it:

“I Have No Constructor, And I Must Initialize”, Evan Girardin (https://consteval.ca/2024/07/03/initialization/).

Via HN: https://news.ycombinator.com/item?id=40880932

On Lobsters: https://lobste.rs/s/0xkanu/i_have_no_constructor_i_must_initialize

#CPP #Initialization

I Have No Constructor, and I Must Initialize | consteval

Конструкторы-самозванцы в Kotlin

Сегодня я хочу поговорить про интересные моменты в Kotlin, связанные с вызовами конструкторов классов. Или не совсем конструкторов? Или же совсем не конструкторов? Давайте разбираться. Это техническая статья для любителей языковых интересностей, не лишённая практического смысла.

https://habr.com/ru/articles/805767/

#kotlin #constructor #initialization #function

Конструкторы-самозванцы в Kotlin

Сегодня я хочу поговорить про интересные моменты в Kotlin, связанные с вызовами конструкторов классов. Или не совсем конструкторов? Или же совсем не конструкторов? Давайте разбираться. Это...

Хабр

We have released a new CppCon 2023 Video!

Back to Basics: Initialization in C++ – Ben Saks – CppCon 2023
https://youtu.be/_23qmZtDBxg
#BackToBasics #BestPractices #cppBasics #Initialization #Objects #StandardLibrary

Back to Basics: Initialization in C++ - Ben Saks - CppCon 2023

YouTube
Intel BIOS Implementation Test Suite (BITS) Overview https://squeet.me/display/962c3e10-185c-140c-034e-592229689057
Intel BIOS Implementation Test Suite (BITS) Overview

The BIOS Implementation Test Suite (BITS) provides a bootable pre-OS environment for testing BIOSes and initialization of Intel® processors, hardware, and t...