Chapter 13: Module Interface
Chapter 13 - 13: Module InterfaceEstello leaned back in his chair, rubbing his hands together before pointing at Jack and Richard.
"Alright, you two," he said, his voice firm but relaxed, "you should settle your belongings on the third floor. Jackie already told me you're planning to go shopping for computers, servers, or... whatever that tech stuff is."
Jack grinned, nodding.
Estello shifted his gaze toward his grandson. "Jackie, the basement is mostly cleared now. Plenty of space, except for the cars, of course. You'll have to make do with what's left."
Jack smirked. "That's more than enough, Grandpa."
Estello let out a satisfied hum. "Good. Tomorrow, I'll transfer some funds to your account."
Jack perked up. "Thanks, Grandpa."
Then, Estello's gaze shifted toward Richard. Unlike his casual demeanor with Jack, this time his eyes were sharp, firm, penetrating.
"And you, Richie," he said, his tone taking on a fatherly weight, "save your money."
Richard hesitated. "I—"
"Save it." Estello repeated, the authority in his voice leaving no room for argument.
Richard nodded. "Got it."
"Good." Estello leaned back again. "I'll add yours to Jackie's account as well. No need to fuss about it."
Jack clapped his hands together and stretched. "Alright then, we're set."
Estello waved them off. "Go on, now. I've got my own mission—convincing your mother to stay. Hopefully, she listens to reason." He sighed. "I doubt it, though."
Richard exchanged a glance with Anita, but neither said anything.
Jack grabbed his backpack, then reached for Richard's duffel bag and his mother's stroller bag.
"Come on," he said, nodding toward the stairs.
Without another word, they headed to the third floor. As Richard and Jack stepped onto the grand staircase, Richard couldn't help but feel like he had just walked into a king's mansion straight out of a movie.
The sheer opulence and grandeur of the house surrounded him, from the finely polished wood beneath his feet to the ornate chandeliers casting a warm golden glow overhead.
They turned right down a long hallway lined with closed doors.
Jack gestured lazily. "Guest rooms. The lounge is at the far end. Movies, karaoke, whatever you want to do when you're not crunching code."
They reached a spiral staircase with sleek tinted glass walls. The view outside was breathtaking—a vast, landscaped garden bathed in moonlight. Water fountains shimmered, and carefully arranged flower beds formed patterns like something out of a royal estate. From here, Richard could see nearly the entire property.
"Damn," he muttered.
Jack smirked. "Wait till you see our rooms."
At the third floor, Jack pushed open a set of dark wooden doors and flicked on the lights. Searᴄh the Nôvelƒire.net website on Google to access chapters of novels early and in the highest quality.
Inside, two spacious bedrooms awaited them, separated by a common living space with a couch and a coffee table. The back wall was a giant glass window overlooking the garden below. The moonlight poured in, giving the space an almost dreamlike atmosphere.
"This used to be my dad's and Uncle Edmundo's room when they were kids," Jack said, tossing his bags onto one of the beds.
Richard walked to the window, taking it all in. "They really picked the best view, huh?"
Jack flopped onto his bed with a sigh. "Yeah, they did. Anyway... I'm dead. I need sleep." He didn't even bother changing, just lunged onto the mattress and buried his face in a pillow.
Richard, on the other hand, had other plans.
He set his laptop on the desk beside his bed, adjusted the soft spinning chair, and cracked his neck and knuckles. He powered up the laptop, and as the familiar hum of the machine filled the room, he exhaled sharply.
"Alright... back to work."
The Vector Core engine was far from complete. Tonight, he would focus on Module Interfaces.
He stared at the screen. "Init(), Update(), Shutdown()... simple, on the surface. But the devil's in the details."
His fingers hovered over the keyboard. How do modules communicate? How do they share data? How do I enforce a consistent lifecycle?
Richard began drafting the Module Interface.
"It's about creating a standard, a common language between different systems," he murmured. "But it has to be flexible... physics, rendering, game logic—they all have different needs."
His mind raced through the possible designs.
Virtual functions? Abstract classes? Templates?
Each option had its own trade-offs. Virtual functions allowed easy extension, but had performance overhead. Abstract classes kept things clean but forced strict structure. Templates were powerful but could quickly become a nightmare.
He exhaled. "I need to find the right balance."
After much deliberation, he settled on a pure virtual interface—a clean separation of concerns.
"Define the 'what', not the 'how.' Each module implements its own logic."
Next: ModuleManager.
"The orchestrator," he muttered, opening a new file. "The conductor of this symphony."
The ModuleManager had to be responsible for:✔ Loading and unloading modules✔ Managing dependencies✔ Ensuring smooth execution
But how should it store them?
"A simple vector? A map? A linked list?" he whispered, weighing the options.
Vectors offered fast iteration.Maps provided quick lookups.Linked lists were great for insertions and deletions.
But in a real-time game engine, iteration speed was key. He went with a vector—contiguous memory for efficiency.
He coded for a while before stopping to think. "What about insertion and deletion? Dependencies?"
A simple mistake here could crash the entire engine.
He implemented LoadModule().
Dynamic library loading... a nightmare across platforms.
Windows DLLs, Linux shared objects... different quirks, different conventions.
Error handling was a must.
"If a module fails to load, the engine should fail gracefully. No silent errors. No cryptic crashes."
UnloadModule() came next.
Releasing resources, cleaning up memory—but in the right order.
Modules often depended on one another, meaning unloading had to be done carefully.
A dependency graph. That was the answer.
Topological sorting... ensuring modules were unloaded in a safe sequence.
Circular dependencies?Conflicting requirements?
He spent hours debugging, staring at interconnected nodes on the screen.
Finally, the Update Loop.
Each frame, every loaded module had to run Update().
But what if one module crashed?
A single faulty module could take down the whole game.
Richard implemented try-catch blocks to isolate failures.
He leaned back. "Robust. Reliable. Safe."
But the job wasn't done.
Testing.
He started writing unit tests for the ModuleManager.
How do I test dynamic library loading? Simulate module dependencies?
Mock modules. Edge cases. Every possible failure scenario.
A notification popped up on his screen. 3:42 AM.
"A whole week..." he sighed, rubbing his temples. "A week on just this one part... but it's critical. If this fails, the whole engine fails."
He glanced at the hundreds of lines of code now on his screen.
"One step closer to Vector Core."
The moonlight streamed through the glass window, reflecting off the polished wooden floor.
Jack snored softly in the background.
Richard checked his code one last time, scanning for any errors. Satisfied, he closed the IDE and put his laptop in sleep mode. He let out a deep breath, rolling his shoulders to shake off the tension.
Before heading to bed, he quietly stepped out of the room and opened the door opposite his.
Inside, Anita lay peacefully under the soft glow of a night lamp, her gentle breathing the only sound in the room. Richard watched for a moment, a small smile forming on his lips. For the first time in years, his mother looked truly at peace.
He carefully closed the door and made his way back to his room.
Throwing himself onto the silky-smooth mattress, he sighed in relief. The sheer comfort of the bed threatened to knock him out in seconds.
"Damn... this is dangerous..." he muttered, already sinking into the softness.
Just as he was about to drift off, a familiar interface popped up in his vision.
A new panel flashed before him.
[Daily Quest Failed]-10,000 SP. Available SP: 0
"What?!" he whispered harshly, eyes widening.
Then it hit him. He had forgotten about the daily quest.
"Damn it," he groaned, slapping his forehead in frustration.
Before he could dwell on it, the system panel shifted, revealing his full status.
[Status]
Name: Richard Santamo
Age: 23
Weight: 135 lbs
Height: 5'11
SP: 0
[SHOP] [SKILLS]
Stat Points: 5
Attributes:
STR: 10
CON: 15 → 18 (+3)
AGI: 9
PER: 9
VIT: 10 → 12 (+2)
INT: 13
Technology Learned: Vector Core
Skills: Information Processing, Knowledge Acquisition, Keyboard Warrior
"Alright, let's assign these stat points," Richard muttered, rubbing his chin.
He distributed +3 to Constitution and +2 to Vitality.
Immediately, a warm sensation coursed through his body. His muscles didn't grow or anything drastic, but he felt more solid, more resilient. Like his body had been reinforced from within.
"Interesting..." he whispered.
Next, his attention shifted to his skill list.
He tapped on [Information Processing].
[Information Processing (Level 1)]– Enhances your ability to quickly analyze and process large amounts of data. Upgrade: 2 Skill Points (Available SP: 11)
Without hesitation, he pressed 'Upgrade.'
The moment he did, a sharp pain struck his head.
"Ugh!" he groaned, gripping his temples. It wasn't unbearable, but it felt like his brain was rewiring itself, recalibrating.
Then, in an instant—it was over.
Clarity.
Suddenly, the world around him seemed sharper, clearer.
His eyes darted around the room, taking in details he normally would have overlooked. The slight wear on the wooden desk, the subtle crack on the ceramic vase, the gentle rise and fall of Jack's chest as he snored.
Everything was faster.
His thoughts felt more structured, more efficient. It was like his brain had optimized itself.
A wide grin spread across his face.
With this... I can work even faster.
Excitement surged through him, but exhaustion quickly caught up.
He sank back into the bed, letting the soft mattress swallow him whole.
Tomorrow, he'd push his system even further.
But for now—he closed his eyes.
Chapters
×
Chapter 1
- A Cup of Coffee
Chapter 2
- Fading Doubts
Chapter 3
- Jack
Chapter 4
- Bros Before Hoes
Chapter 5
- Game Testing
Chapter 6
- Revelation
Chapter 7
- Securing the Win
Chapter 8
- Claiming the Prize
Chapter 9
- New Frontier
Chapter 10
- Transition
Chapter 11
- Reunion
Chapter 12
- New Home
Chapter 13
- Module Interface
Chapter 14
- Daily Quest
Chapter 15
- Sorry Gaijn
Chapter 16
- Finding PC
Chapter 17
- Shopping
Chapter 18
- Old Connections
Chapter 19
- Vector Core
Chapter 20
- Features
Chapter 21
- Finishing Touches
Chapter 22
- Painting
Chapter 23
- Icon
Chapter 24
- Nostalgia
Chapter 25
- Realism
Chapter 26
- Procedural Asset Test
Chapter 27
- Disaster or Miracle
Chapter 28
- Vector Core Completed
Chapter 29
- Creating
Chapter 30
- Campaign
Chapter 31
- Reckless Evolution
Chapter 32
- Classified
Chapter 33
- Roasted
Chapter 34
- Zoo for the Most Dangerous Beast
Chapter 35
- Marketing
Chapter 36
- Trailer
Chapter 37
- The Day That Started It All
Chapter 38
- Offers
Chapter 39
- Attracting Foreign Powers
Chapter 40
- News
Chapter 41
- Fabrication
Chapter 42
- AMFS
Chapter 43
- Revelation and Trust
Chapter 44
- Mystery
Chapter 45
- Family
Chapter 46
- Trap
Chapter 47
- Behind the Curtains
Chapter 48
- Operation Paper Clip
Chapter 49
- Incursion
Chapter 50
- Aftermath
Chapter 51
- Bag em and Tag em
Chapter 52
- Relocation
Chapter 53
- Damage Control
Chapter 54
- Persistent World
Chapter 55
- Reaching For The Stars
Chapter 56
- Testing
Chapter 57
- Testing II
Chapter 58
- Final Modifications
Chapter 59
- World Frenzy
Chapter 60
- Sharks and Stars
Chapter 61
- Drive
Chapter 62
- Wheres the Oil
Chapter 63
- Initiation
Chapter 64
- Struggles
Chapter 65
- Mystiques
Chapter 66
- History
Chapter 67
- Inheritance
Chapter 68
- Planning For The Future
Chapter 69
- Window Shopping
Chapter 70
- Setting It All Up Again
Chapter 71
- Your Big Brothers Back
Chapter 72
- Preparation
Chapter 73
- Shifting the Tides
Chapter 74
- Migration
Chapter 75
- Leashing the Phoenix
Chapter 76
- Future AI Girlfriend
Chapter 77
- Future Alliances
Chapter 78
- Bytecon
Chapter 79
- Reactions
Chapter 80
- Frog Out Of The Well
Chapter 81
- Players POV
Chapter 82
- Easy Company
Chapter 83
- Evolution
Chapter 84
- Manila City
Chapter 85
- Proposals
Chapter 86
- The Deep State
Chapter 87
- Doomsday Clock
Chapter 88
- Ronnie
Chapter 89
- Psionic Mastery
Chapter 90
- Psionic Path Becoming the God-Emperor
Chapter 91
- Research
Chapter 92
- Linas Brain
Chapter 93
- DEUS EX MACHINA
Chapter 94
- Tour
Chapter 95
- Resolve and Racism probably
Chapter 96
- DEUS EX MACHINA DESCENDS
Chapter 97
- Test Failure
Chapter 98
- Introductions
Chapter 99
- Moving Out
Chapter 100
- Jumpscaring the Internet
Chapter 101
- Prometheus Mark 6
Chapter 102
- Prometheus Mark 6 Testing
Chapter 103
- Scorched Earth
Chapter 104
- Doppelgangers
Chapter 105
- Ignition Sequence
Chapter 106
- Catching the Big Mouse
Chapter 107
- No Loose Ends
Chapter 108
- Consequences
Chapter 109
- Dragons Ascent
Chapter 110
- Even Aliens Are Junkies
Chapter 111
- The Real Predator
Chapter 112
- Forced Awakening
Chapter 113
- Meeting the Famed Ancient
Chapter 114
- - 115 Progress
Chapter 115
- - 114 The Force Awakens
Chapter 116
- Progress 2
Chapter 117
- Rise and Fall
Chapter 118
- Nuts and Crackers
Chapter 119
- Half-Assed Reunion
Chapter 120
- Lifting the Scales
Chapter 121
- Spark of Human Supremacy
Chapter 122
- - 123 First Encounter
Chapter 123
- - 122 First Ride
Chapter 124
- What an Irony
Chapter 125
- Evaluation
Chapter 126
- Strengths and Weaknesses
Chapter 127
- History
Chapter 128
- Plans
Chapter 129
- Beggar Shopper
Chapter 130
- IF YOU CANT BUY A REAL GUCCI BUY A FAKE ONE
Chapter 131
- Plans for the Future
Chapter 132
- Fury
Chapter 133
- Hangar Bay
Chapter 134
- Oreo-Philosophy Design
Chapter 135
- Competitions
Chapter 136
- Preparation Brazil
Chapter 137
- Preparation for Descent
Chapter 138
- Praetoriani Siderum
Chapter 139
- Nicolau
Chapter 140
- Battle Royale
Chapter 141
- Amazon Ciano
Chapter 142
- Dear Casanova
Chapter 143
- Byte OS 1
Chapter 144
- ByteOS 2
Chapter 145
- Masters of Disruption
Chapter 146
- Unearthing Corpses
Chapter 147
- Dark Harvest
Chapter 148
- Project Harvest
Chapter 149
- Meeting Old Bloodlines
Chapter 150
- Journey To The Past
Chapter 151
- Heaps
Chapter 152
- History Recall
Chapter 153
- Introducing Nicolau
Chapter 154
- The Man Of Absolute Faith
Chapter 155
- Renewed Faith New Alliance
Chapter 156
- Recruits
Chapter 157
- Praetoriani Suit of Armors
Chapter 158
- Praetoriani Rising
Chapter 159
- Forging Flesh and Steel
Chapter 160
- True Praetoriani
Chapter 161
- Phase 2 Incoming
Chapter 162
- Launch
Chapter 163
- Frenzy
Chapter 164
- All In One
Chapter 165
- There Is Only One Race The Human Race
Chapter 166
- Training Begins
Chapter 167
- Art Of Waaaghh
Chapter 168
- In the Table1
Chapter 169
- WAAAAGGHH
Chapter 170
- In the Table 2
Chapter 171
- Eerily Easy
Chapter 172
- Whos Laughing Now
Chapter 173
- Transfer
Chapter 174
- I HAVE THE WHEEL
Chapter 175
- Friend or Foe
Chapter 176
- Simulation Training
Chapter 177
- Self-Investment
Chapter 178
- Dark God Descending
Chapter 179
- Manifested Energy
Chapter 180
- Escalation
Chapter 181
- Invasion
Chapter 182
- We Are Not Cattle We Are The Storm
Chapter 183
- Chaos
Chapter 184
- Every Hands On Deck
Chapter 185
- First Strike
Chapter 186
- Response
Chapter 187
- Introductions
Chapter 188
- Dont Leave Without Paying
Chapter 189
- FAFO
Chapter 190
- Victory
Chapter 191
- Divided By Belief United By Threat
Chapter 192
- Round 2
Chapter 193
- The Beast Awakens
Chapter 194
- Tourists
Chapter 195
- First Mission
Chapter 196
- The Bloodwolfs Duel
Chapter 197
- A Very Bad Nightmare
Chapter 198
- A New Kind Of D-Day
Chapter 199
- End of The World
Chapter 200
- - 201 Dog Eat Dog
Chapter 201
- - 200 Clash of Titans
Chapter 202
- - 204 Humanitys First Win
Chapter 203
- - 202 No Mercy
Chapter 204
- - 203 Formation
Chapter 205
- Depart
Chapter 206
- - 207 New Hope
Chapter 207
- - 206 Golden Age
Chapter 208
- - 208 We did not conquer the stars We arrived hands open
Chapter 209
- - 209 Moby Dick
Chapter 210
- - 210 Hope and A Looming Threat
Chapter 211
- - 211 Purge
Chapter 212
- - 212 God Engine
Chapter 213
- - 213 Upgrading Humanity
Chapter 214
- - 214 Emperors Gambit
Chapter 215
- - 215 Final Preparations
Chapter 216
- - 216 The Dragons Deception
Chapter 217
- - 217 The Shield of Sol
Chapter 218
- - 218 The Dragons Fury
Chapter 219
- - 219 The Hunter Becomes the Hunted
Chapter 220
- - 220 The Vanguard
Chapter 221
- - 221 The Challenger
Chapter 222
- - 222 The Dance of Titans
Chapter 223
- - 223 The Reapers Kiss
Chapter 224
- - 224 The Suns Embrace
Chapter 225
- - 225 The Smugglers Dream and Everyones Demise
Chapter 226
- - 226 A Fathers Desperation
Chapter 227
- - 227 The Seed of Betrayal
Chapter 228
- - 228 Desperation Of A Father
Chapter 229
- - 229 The Gambit
Chapter 230
- - 230 The Last Human
Chapter 231
- - 231 Sacrifice
Chapter 232
- - 232 The Beginning of An End
Chapter 233
- - 233 Dawn Of A New Age
Chapter 234
- - 234 Bitter End
Chapter 235
- - 235 A Better End