Rick Cook - Wizard’s Bane

Здесь есть возможность читать онлайн «Rick Cook - Wizard’s Bane» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Жанр: Фэнтези, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Wizard’s Bane: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Wizard’s Bane»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

What "Wiz" Zumalt could do with computers was magic on Earth. Then, one day the master computer hacker is called to a different world to help fight an evil known as the "Black League". Suddenly, the "Wiz" finds himself in a place governed by magic — and in league with a red-headed witch who despises him.

Wizard’s Bane — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Wizard’s Bane», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

"You know, I still don’t understand why that fire spell worked the second time," Wiz said one evening shortly after the first hard frost.

"Why is that, Sparrow?" Shiara asked.

"Well, according to what Moira told me I shouldn’t have been able to reproduce it accurately enough to work. She said you needed to get everything from the angle of your hand to the phase of the moon just right and no one but a trained magician could do that."

Shiara smiled. "Our hedge witch exaggerates slightly. It is true that most spells are impossible for anyone but a trained magician to repeat, but there are some which are insensitive to most—variables?—yes, variables. The coarse outlines of word and gesture are sufficient to invoke them. Apparently you stumbled across such a spell. Although I doubt a spell to start forest fires would be generally useful."

Wiz laughed. "Probably not. But it saved our bacon."

"You know, Sparrow, sometimes I wonder if your talent isn’t luck."

Wiz sobered. "I’m not all that lucky, Lady."

The former sorceress reached out and laid her hand on his. "Forgive me, Sparrow," she said gently.

Wiz moved to change the subject.

"I can see why it takes a magician to discover a spell, but why can’t a non-magician use a spell once it’s known?"

"That is not the way magic works, Sparrow."

"I know that. I just don’t understand why."

"Well, some spells, the very simple ones, can be used by anyone—although the Mighty discourage it lest the ignorant be tempted. But Moira was basically correct. A major spell is too complex to be learned properly by a non-magician. A mispronounced word, an incorrect gesture and the spell becomes something else, often something deadly." Her brow wrinkled.

"Great spells often take months to learn. You must study them in parts so you can master them without invoking them. Even then it is hard. Many apprentices cannot master the great spells."

"What happens to them?"

"The wise ones, like Moira, settle for a lesser order. Those who are not so wise or perhaps more driven persevere until they make a serious mistake." She smiled slightly. "In magic that is usually fatal."

Wiz thought about what it would be like to work with a computer that killed the programmer every time it crashed and shuddered.

"But can’t you teach people the insensitive spells?" he asked. "The ones that are safe to learn?"

Shiara shrugged. "We could, I suppose, but it would be pointless. Safe spells are almost always weak spells. They do little and not much of it is useful. Your forest fire spell was unusual in that it was apparently both insensitive and powerful.

"There are a very few exception but in general the spells that are easy to learn do so little that no one bothers to learn them, save by accident."

"Well, yeah, but couldn’t you build on that? I mean start from the easy spells and work up to the harder ones that do something useful?"

Shiara shook her head. "Once again, magic does not work that way. Mark you, Sparrow, each spell is different. Learning one spell teaches you little about others. Wizardry is a life’s work, not something one can practice as a side craft. You must start very young and train your memory and your body before you begin to learn the great magics."

"I see the problem," Wiz said.

"That is only the beginning. Even if ordinary folk could learn the great spells, we would be cautious about teaching them lest they be misused. A wizard has power, Sparrow. More power than any other mortal. By its very nature that power cannot be easily checked or controlled by others. Few have the kind of restraint required to do more good than harm."

"But more people are dying because only wizards can use the really powerful spells," Wiz protested, thinking of Lothar and his cottage in the Wild Wood.

"More would die if those who are not wizards tried to use them. Life is not fair, Sparrow. As you know."

Wiz didn’t pursue the matter and their talk went on to other things. But it troubled him for the rest of the evening.

Shiara’s right, he thought as he drifted off to sleep that night. You can’t have just anyone working magic here. It would be like giving every user on the system supervisor privileges and making them all write their own programs in machine language. Not even assembler, just good old ones and zeroes. He sleepily turned the notion over in his mind, imagining the chaos that would cause in a computer center. You can’t trust users with that kind of power. God, you don’t even want most programmers writing in assembler. You make them use high-level languages.

A vagrant thought tugged at the edge of Wiz’s sleep-fogged brain. A computer language for magic?

My God! I’ll bet you could really do that!

He sat bolt upright. Well why not? A computer language is simply a formalism for expressing algorithms and what’s a magic spell but an algorithm?

If it did really work that way the possibilities were mind-boggling. You’d need the right language, of course, but God what you could do with it.

These people were the original unstructured programmers. They were so unstructured they didn’t even know they were programming. They just blundered around until they found something that worked. It was like learning to program by pounding randomly on the keyboard.

They never seemed to generalize from one spell to another. They needed some kind of language, something to let them structure their magic.

It would have to be something simple, Wiz decided. A language and an operating system all in one. Probably a very simple internal compiler and a threaded interpreted structure. And modular, yes, very modular.

Forth with object-oriented features? Yep, that made sense. All thought of sleep vanished as Wiz got of bed. His mind was full of structural considerations.

He dug a chunk of charcoal out of the fireplace and started sketching on the hearth by the wan moonlight. Just a basic box diagram, but as he sketched, he became more and more excited.

A Forth-like language was about the simplest kind to write. Essentially it was nothing but a loop which would read a command, execute it and go on to read the next command. The thing that made such languages so powerful was that the command could be built up out of previously defined commands. MOBY could be defined as command FOO followed by command BAR. When you gave the loop, the interpreter, the command MOBY, it looked up the definition in its dictionary, found the command FOO, executed it, went on to the command BAR and executed it, thus executing the command MOBY.

At the top of a program was nothing but a single word, but that word was defined by other words, which were defined by other words, all the way back to the most basic definitions in terms of machine language—or whatever passed for machine language when the machine was the real world.

The more Wiz thought about that, the better he liked it. Forth, the best-known example of the genre, had been originally written to control telescopes and Forth was a common language in robotics. It had the kind of flexibility he needed and it was simple enough that one person could do the entire project.

That Forth is considered, at best, decidedly odd by most programmers didn’t bother Wiz in the slightest.

The critical question was whether or not a spell could call other spells. The way Shiara had used a counting demon to trigger the destruction spell in her final adventure implied that it could, but the idea seemed foreign to her.

He sat on the hearth, sketching in the pale moonlight until the moon sank below the horizon and it became too dark to see. Reluctantly he made his way back to bed and crawled under the covers, his excitement fighting his body’s insistence on sleep.

Nothing fancy, he told himself. He would have to limit his basic element to those safe, insensitive spells Shiara had mentioned. So what if they didn’t do much on their own? Most assembler commands didn’t do much either. The thing that made them powerful was you could string them together quickly and effectively under the structure of the language.

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Wizard’s Bane»

Представляем Вашему вниманию похожие книги на «Wizard’s Bane» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Wizard’s Bane»

Обсуждение, отзывы о книге «Wizard’s Bane» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x