B2 Chapter 7: Advanced Mage Principles - Magic is Programming - NovelsTime

Magic is Programming

B2 Chapter 7: Advanced Mage Principles

Author: Douglas M
updatedAt: 2025-06-20

B2 Chapter 7: Advanced Mage Principles

    Carlos smiled in amusement as he watched Trinlen hurriedly skim through his notes. The young academy-trained mage was muttering under his breath. "Advanced mage soul structures, where did I list those... I did put them in the list, right? Come on... Ah!" He slammed a finger onto the right spot on the page and looked up triumphantly. "Sorry, I put them in a side note because I thought you wouldn''t be able to make any."

    He sat forward on the edge of his chair and put his notebook on the small table between them, his hand holding it open. "Okay, what did you say you already have soul structures for, again? I think you mentioned casting without precise speech?"

    Carlos nodded. "Yes, and we expect it will eventually allow casting silently, without speaking at all. The other one is for learning spells as sequences of the individual incantation words. There''s more to it than that, really, but it''s a bit complex to explain in full, and also a house secret."

    "That first one sounds like the spell activator the academy teaches. Not too surprising, since Sandaras at least mentioned in his book that its effects are possible, even if he didn''t go into details about it like for the four basic mage structures. Sounds like you got it right, too; good job avoiding the mistake of having it stop at just letting your speech be unclear." Trinlen cocked his head. "Learning spells as sequences of the words... That sounds kind of like the spell conceptualizer, but different?"

    Carlos shrugged, then got out a notebook and pencil of his own. "Different enough that the noble mage who inspected us to verify our soul rank declared it as simply an unknown structure. Now, what exactly does a spell conceptualizer do?"

    "Well, you know how you have to hold the full and complete concept in your mind of every detail of what a spell does in order to learn it?" Trinlen paused momentarily for Carlos and Amber to nod. "Just doing that normally is fine for simple spells like the example ones, but if you want to learn anything more complex, it quickly gets to the point of overwhelming your mental capacity. Imagine holding the concept of the Light spell''s sustained loop in your mind, but four copies of it at once, each with a different effect, and they''re all linked together in specific ways."

    Carlos frowned, absorbed in thought, but Amber hesitated only briefly before speaking. "I think I might be able to manage that normally, but yes, it would be difficult, and I take it that many spells go much farther than that."

    Carlos chuckled before Trinlen could answer. "If incantations get anywhere near as big and convoluted as some of the similar things I know, you have no idea how much of an understatement that is." Windows has how many millions of lines of code, again?

    Trinlen raised an eyebrow at Carlos. "I''m curious what you''re referring to, but I don''t know if it''s relevant. In any case, a spell conceptualizer soul structure helps with learning complex spells, expanding your capacity to hold the full details of large and complex incantation concepts in your mind. It''s almost essential for any truly advanced spellcraft, but it doesn''t have synergy with much, aside from the spell database, and I know that''s important for nobles. I''m not sure how those considerations compare for you; you might have to forgo it in favor of something with more synergies."

    Carlos finished scribbling a few notes and looked back up. "Our spell linker - I''ll be astonished if you figure out enough details from the name to duplicate it - helps with the same problem, but in a different way that also has other benefits and more synergies. Its benefit for this particular issue is limited, though, so we might still have to make something extra to fully solve it. Ideally, we''ll find a different approach that solves the problem at least as well while also having more synergy. We''ll have to think about that."

    He wrote a quick extra note and focused back on Trinlen. "I think we probably will not use a spell conceptualizer, at least not with the specific concept of it that you described, but the issue it''s designed to address is an important one. So, thank you for bringing the issue to our attention. In fact, that''s probably a good general principle - even if the solution that you know is not a good one for us, any problem important enough for the academy to teach a solution for it is a problem that we probably need to know about and address. So teach us about the problem, explain the solution you know, and we''ll figure out how we want to solve it."

    "Got it, makes sense." Trinlen nodded. "Going with that principle, the next major problem is in controlling complex spells after learning and casting them. As I recall, at least a few of the beginner spells I gave you have a parameter you can mentally adjust afterward. Easy enough to manage so far, but what if you cast a spell that has a dozen such parameters?"

    "Right, and also what if the parameter value you want is difficult to adequately visualize? I''ve had some difficulty with that issue already." Carlos huffed a little and shook his head. Visualizing Captain Granlan being flattened into a human pancake just to get him to within reach of the ground was more extreme than I expected to need.

    Trinlen blinked and cocked his head. "Really? How did you have powerful enough mana for an effect of that kind of magnitude? I''ve heard of mages having issues with that, and I was going to mention it, but I thought it only ever comes up above level 20 or 30!"

    Carlos looked at Amber. She looked back for a moment, then shrugged and shook her head, smiling and slightly shaking with suppressed laughter. Carlos faced Trinlen again. "Would you believe I''m just that bad at visualizing things?"

    "Why am I not surprised that the academy does not teach the precise details of how much synergy is necessary?" Carlos dryly remarked. "Alright, if that''s all for advanced mage soul structures, what about the capabilities and limitations of spellcasting incantations in general?"

    "Capabilities, well, um... That''s a rather long list."

    "I am well aware of that." Carlos refrained from mentioning that he actually had the complete list of all effect keywords. I''ve been at it for days, and still haven''t finished reviewing that list.

    "So, limitations, then." Trinlen squared his shoulders and took a deep breath. "The most major limitation is that a lot of things that may seem like they should be simple - and even are simple to do with a full soul structure - are instead incredibly complex to do with an incantation. For example, finding a path to go somewhere. Making a soul structure to find paths for you is easy. Just think about exploring and searching for a path, and informing you about what it finds, and that''s it.

    "Making a spell to find a path for you, though? You have to lay out in extreme detail how to explore, how to track the path it''s explored, how to recognize obstacles and barriers, when to give up on one route and how to choose a different one to explore, and... Ugh. The first time I read that spell, it was a headache, even with all the explanatory annotations." Trinlen shuddered. "It''s the spell that convinced me about the necessity of a spell conceptualizer."

    Carlos smirked. "Believe it or not, I already know all about that kind of issue." Heh. Pathfinding is almost as old hat as standard programming algorithms get! I bet that spell is poorly optimized, too, and making a new one with an A-star search algorithm will blow their minds.

    "I''ll... take your word for it." Trinlen''s face was twitching, like he wanted to raise an eyebrow in curiosity but his frown of revulsion kept pulling it back down. He finally shook his head and continued. "Anyway. Secondary limitations. Spells can be dispelled, dispersed, or broken, where soul structures cannot. Or at least, breaking a soul structure is a whole lot harder. The effect of a soul structure can potentially be broken in similar fashion to a spell, but that generally only applies when the effect is external to yourself, and even then the soul structure typically can renew or replace the effect."

    "Right. Seems obvious, even if I''m not sure whether I''ve thought about it so explicitly before."

    Trinlen nodded. "This next one might seem similarly obvious, but to make it explicit: while there are spells to increase strength, toughness, etc., any spell to improve yourself will never be as effective as a soul structure made for the same purpose. The difference isn''t about power, but rather the inherence and permanence of a soul structure''s connection to you from it being literally part of you. That improves efficiency in ways no spell could ever match." He took a deep breath. "And that''s all the really noteworthy limitations I can think of. In terms of theoretical capability, at least; the practicalities of learning the right spells for everything you want to do are an entirely different matter."

    Carlos put his pencil down and shook out his hand. "Alright. I think that''s a good point to wrap up the first lesson. Next time, we can dig into the details of incantation design." He briefly shifted mental focus to his bond with Purple, directing a message to be relayed to Trinlen. [You can contact us telepathically through Purple for any brief questions about what lesson material to prepare.]

    Trinlen jerked in startlement at the telepathic message, then smiled and sent one back. [Got it!]

    Carlos looked over to the young woman beside him. "Amber?"

    "Hmm?" Amber looked up from her notes, which she was reading through and adding sidenotes to. "Oh. Yes, we have what we need from Trinlen on this topic. Now we just need an in-depth explanation from Lorvan of the second stage to combine with it. Time to call him in for that?"

    Carlos nodded. "If anything, that conversation is overdue."

Novel