Better HN
topnewbestaskshowjobs
Log inSign up

johnfound

84 karma · joined Jul 27, 2014 (12y ago) · 42 submissions

Submissions

comment 9y ago · link · parent

You always can reduce the usage the of macros or make them more assembly-centric. Check the Fresh IDE sources as an example of moderate macro use.

On the other hand, definition of complex data structures is much easier with powerful macro engine.

comment 9y ago · link · parent

About twice slower than in HLL, with code reusing of course.

But the code is more reliable and the debugging process is much easier. After some short debugging stage, most of the projects runs for years without single bug report or other support issues.

I am not talking about the significantly higher speed, lower memory footprint and better UX (especially the response time of the UI is really much faster).

As a whole the advantages are more than disadvantages IMHO.

comment 9y ago · link · parent

I am using assembly language for all my programming tasks.

And most of they are application programming (Fresh IDE itself and many closed source projects in my work) or even web programming (https://board.asm32.info).

That is why I needed a powerful IDE, suitable for rapid programming of relatively big projects (500Kloc or higher).

comment 9y ago · link · parent

I am working on v3.0 that will use its own portable GUI toolkit (in assembly language) with much prettier UI. On this page you can see some preliminary experimental screenshots: https://fresh.flatassembler.net/index.cgi?page=content/artic...

Still not GTK though. It is too heavy for assembly language programming and will not allow portability for example on MenuetOS or KolibriOS assembly written OSes.

comment 9y ago · link · parent

The screenshots are taken in Linux: XFCE+Wine. Fresh IDE is actually some kind of hybrid application. It works in Linux better and with more features than in Windows. :)

comment 9y ago · link · parent

Sorry, bad links on the front page. Fixed now.

Also, there is a popup menu at left with the navigation links. Although, the repository interface is not very mobile friendly.

Thanks for the report!

comment 10y ago · link · parent

"gcc -S sqlite3.c" will give me the result of the C code compilation. The fact it is in form of "assembly code" changes nothing - it still is HLL code.

The humans write assembly language in different way, because they are not limited by the HLL rules, only by the hardware resources.

comment 10y ago · link · parent

It is a work in progress. I needed good transactional database in order to handle multiply connections simultaneously and SQLite fit this goal pretty well. But later if I find (or write) assembly language database, I always can change it. Combined with good assembly written web server (already available: https://2ton.com.au/rwasa/) and assembly written OS (like MenuetOS or KolibriOS) we will have the full stack for assembly language based web hosting. :)

comment 10y ago · link · parent

I am not agree. The human writes assembly language in very different way, compared to the HLL compiler. Taking the compiler as a reference, you will get all the disadvantages and none of the advantages it have.

I would suggest simply to take some good quality, human written assembly language source and to try to modify it to fit your needs. Or start to program some small assembly language program from scratch and ask on the asm forums for help.

comment 10y ago · link · parent

Hard to say, but some details about the hosting may help to estimate. The site is hosted on the cheapest possible shared hosting for 2.5€ per month: 15GB space, 150GB monthly transfer, CPU usage 30 minutes per 24 hours, 1GB RAM, max 60 processes.

comment 10y ago · link · parent

And assembly language keeps its position in the top 10, so it is not a statistical quirk. It is a trend.

comment 12y ago · link · parent

Hi. I am the author of MiniMagAsm. Actually MiniMagAsm is just an proof-of-concept, that can be used for small sites.

I know that the performance can be improved by using some optimization tricks, but I simply don't need (for now) it to be faster. :)

Also, it is true, that x86 hardware can run much heavier web engines, but think about that the same hardware can run more lightweight engines as MiniMagAsm.

Anyway, the future of this project is probably towards using FastCGI or SCGI interfaces and maybe the use of some lightweight database engine - like SQLite.

Ah, BTW, http://asm32.hopto.org is actually my home desktop computer. :) Recently, the whole project has been moved to a commercial hosting: http://asm32.info

12