ChubakPDP11

joined 9 months ago
[–] ChubakPDP11@programming.dev 32 points 9 months ago

I really recommend creating a compiler or an interpreter from scratch, don't even use an IR like LLVM or MIR. Just hack and slash your way though a C compiler, it's the simplest language most people know. Don't care about 'optimization' at first, fuck optimization. Just grab Yacc/Lex or a PEG parser generator that works with the language you like most and have ot generate assembly code for simple expressions. Like, make a bc(1) native compiler! Interprets are fun too. You can use VMGEN to generate a superfast VM in C, and then bind it to another language using SWIG.
Also never imagine usability. Noobdy is going to use your C compiler for any serious work. It's just for education. Post it online to receive feedback.

You cna start by writing DSLs. For example, I am implementing the ASDL language from this old paper.

Also if you are going to do it as an example in your resume, just stop. Nobody cares, because it's a trivial task to write a compiler, even if you write backend, forntned, and the LP yourself! Do something money-loving people loike, like making some bullshit mobile app that tracks your gym sweat volume.

[–] ChubakPDP11@programming.dev 1 points 9 months ago

ncurses only got 8 basic colors that all terminals support.

[–] ChubakPDP11@programming.dev 1 points 9 months ago

btw I saw StableHorde, I will use it .Thanks again.

[–] ChubakPDP11@programming.dev 1 points 9 months ago

Thanks


I first have to see if Stable Diffusion can run on my 1060.

I have a classical approach that occurred to me. Why not find images, with no copyright, like fan art, from DeviantArt or some dingy gooner places like that, and use them instead? Of course I will credit the creator under the photo. Not sure how scummy this is.

btw I could not find a sub about POSIX and OsDev. This Linux sub is the closest. Maybe I should make this sub (what are subs called here?)

Thanks.

[–] ChubakPDP11@programming.dev 1 points 9 months ago (1 children)

Can 1060 run it? I never thought I will use my graphics card so I got a cheap one -- the one with 4 ports. If a 1060 can run on it that would be great.

[–] ChubakPDP11@programming.dev 1 points 9 months ago

Uh I did not see them. Thanks!

[–] ChubakPDP11@programming.dev 0 points 9 months ago (2 children)

What is Bat? Is it a terminal emulator? In that case, if Bat is compliant with an standard which ncurses is compliant to -- i.e most of them, it should work fine. Mind you that there are some rough patches, and some flavors of MD are not supported (yet). If you can link me to bat please do, I am not sure what it is to narrow down the search. Thanks.

[–] ChubakPDP11@programming.dev 1 points 9 months ago (2 children)

Where did I go? :D

[–] ChubakPDP11@programming.dev 2 points 9 months ago

I kinda like that I am as far away from the web world as possible. The only time I deal with anything web-related making a static blog software for myself. As Alan Kay puts it, web is ill, because it has been a hack from day -1. Every time you make a web application, you are using a mule to carry a city worth of cargo on its back.

Web was created for static pages. Use it for static pages. The only website that does not do this and I use is Youtube. I only then visit HackerNoon and Lemmy instances, both of which come out of Web's tube of shit proud.

i wish I could post my conversation (barely a conversation, what do I have to converse with someone who's worked with magnetic core, I just agreed) with Alan Kay on Quora, but I tried to login, and it was so bloated, I could not find the conversation.

I apologize if this hurts your feelings that your 'lil protocol sucks. Read about Dough Englebert's NLS.

Thanks.

[–] ChubakPDP11@programming.dev 2 points 9 months ago

I subconsciously knew this, I currently am making a simple data exchange format to use with a program, and I am using PEG to create a parser. Chances of errors happning in this DXF is really low, but if the parser can't parse it, it's invalid.

[–] ChubakPDP11@programming.dev 2 points 9 months ago

That's an awfully short time. Kudos.

view more: ‹ prev next ›