Belarusian ZX Spectrum Лента новостей
Лента новостей Ссылки Файлы ZXDB Архив сайтов О сайте
BERUEN

Лента новостей

x80cc: быстрый компилятор C для Спектрума от создателя zx-pk.ru

Писать программы для Спектрума на C или переносить на него готовый код на C теперь можно почти без потерь в скорости: CityAceE, создатель форума zx-pk.ru, выпустил компилятор x80cc 0.10.0. На 15 небольших тестовых ядрах его код на Z80 в сумме оказался в 1,5 раза быстрее, чем у SDCC 4.6, и в 1,8 раза быстрее, чем у z88dk, и при этом короче. По словам автора, скорее всего он выйдет компактнее и быстрее, чем написал бы на ассемблере новичок.

x80cc понимает весь стандарт C23 и одной командой собирает из программы на C готовую программу для Спектрума 48K или 128K с загрузчиком на Бейсике. Первую бету CityAceE выложил на zx-pk.ru в октябре; компилятор он пишет при содействии ИИ и дорабатывает по предложениям участников ветки на форуме. Теперь у проекта постоянный сайт и страница на GitHub для выпусков, вопросов и сообщений об ошибках. Сборки пока только для Windows, для некоммерческого использования компилятор бесплатен.

x80cc.zx-pk.com
x80cc - optimizing C23 compiler for Intel 8080 and Z80
x80cc - optimizing C23 compiler for Intel 8080 / KR580VM80A, a great fit for the Z80.

x80cc: a fast C compiler for the Spectrum from the founder of zx-pk.ru

Programs for the Spectrum can now be written in C, or ported to it from existing C code, with little loss of speed: CityAceE, the founder of the zx-pk.ru forum, has released the x80cc compiler, version 0.10.0. Over 15 small test kernels its code on the Z80 came out 1.5 times faster in total than SDCC 4.6's and 1.8 times faster than z88dk's, and shorter too. Its author says it will most likely be smaller and faster than what a beginner would write in assembly.

x80cc understands the whole C23 standard and with one command turns a C program into a ready-to-run program for the 48K or 128K Spectrum with a BASIC loader. CityAceE posted the first beta on zx-pk.ru in October; he writes the compiler with the help of AI and improves it on the suggestions of the members of its forum thread. The project now has a permanent site and a GitHub page for releases, questions and bug reports. Builds are for Windows only so far; the compiler is free for non-commercial use.

x80cc.zx-pk.com
x80cc - optimizing C23 compiler for Intel 8080 and Z80
x80cc - optimizing C23 compiler for Intel 8080 / KR580VM80A, a great fit for the Z80.

Комментарии в Telegram

Комментариев пока нет: их пишут под постом новости в канале.

Написать в Telegram

все новости

Последние 10 файлов Перейти к файлам >> Подписаться на новости RSS · JSON Feed