Smart Systems, Inc.

3.1K posts

Smart Systems, Inc.

Smart Systems, Inc.

@SmartSystemsAI

Smart Systems is a global information technology company with a focus on artificial intelligence, machine learning and deep learning.

Washington, DC. United States Katılım Ekim 2022
128 Takip Edilen63 Takipçiler
Smart Systems, Inc. retweetledi
Alex Xu
Alex Xu@alexxubyte·
How the JVM Works We compile, run, and debug Java code all the time. But what exactly does the JVM do between compile and run? Here's the flow: Build: javac compiles your source code into platform-independent bytecode, stored as .class files, JARs, or modules. Load: The class loader subsystem brings in classes as needed using parent delegation. Bootstrap handles core JDK classes, Platform covers extensions, and System loads your application code. Link: The Verify step checks bytecode safety. Prepare allocates static fields with default values, and Resolve turns symbolic references into direct memory addresses. Initialize: Static variables are assigned their actual values, and static initializer blocks execute. This happens only the first time the class is used. Memory: Heap and Method Area are shared across threads. The JVM stack, PC register, and native method stack are created per thread. The garbage collector reclaims unused heap memory. Execute: The interpreter runs bytecode directly. When a method gets called multiple times, the JIT compiler converts it to native machine code and stores it in the code cache. Native calls go through JNI to reach C/C++ libraries. Run: Your program runs on a mix of interpreted and JIT-compiled code. Fast startup, peak performance over time.
Alex Xu tweet media
English
6
135
671
30K
Smart Systems, Inc. retweetledi
Python Programming
Python Programming@PythonPr·
Agentic AI
Python Programming tweet media
Português
5
83
356
14K
Smart Systems, Inc. retweetledi
Alex Xu
Alex Xu@alexxubyte·
CLI vs MCP AI agents need to talk to external tools, but should they use CLI or MCP? Here goes.
Alex Xu tweet media
English
12
74
380
22.9K
Smart Systems, Inc. retweetledi
Python Programming
Python Programming@PythonPr·
How to Design a Neural Network
Python Programming tweet media
English
6
150
949
24.8K
Smart Systems, Inc. retweetledi
Alex Xu
Alex Xu@alexxubyte·
How Agentic RAG Works?
Alex Xu tweet media
English
6
101
550
25.4K
Smart Systems, Inc. retweetledi
Daily Dose of Data Science
Daily Dose of Data Science@DailyDoseOfDS_·
6 steps to build an ML Model, visually explained!
Daily Dose of Data Science tweet media
English
0
14
55
1.7K