/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?

Old thread:

Other urls found in this thread:

discord.gg/4TuhPhr
twitter.com/NSFWRedditImage

We have a Discord
discord.gg/4TuhPhr

/dpt/, How hostile can you get?

Mention Rust or Lisp and see for yourself.

MACROS AREN'T THAT GREAT REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

why doesn't piping the expression through stdin do the job for you?
is your environment that crippled?

Trying to think of some use cases for self-modifying code. Then I will go implement it.

if you need your code to re-write itself you didn't write it correct the first time

You're a special kind of retard, aren't you?

c++ is the greatest language of all time

>lispcuck can't think of a proper retort

reminder that if you can't find anything you will bring shame to all lisp community

But I thought lisp community always produces new code if they can't find something

What is the age of /dpt/-posters?

Program for pic related. 256 bytes of memory.
and that 256 bytes is all the storage on the system so its got to hold your program code, the data that may go along with the program and also a byte is used as the output to turn on/off the LEDs

I am a 68-year-old Pakistani man.

I wonder when self-modifying oriented programming will finally catch on.

>finally catch on
It's not 1960s now

32 yo indian

It's bound to happen, it's such a trivial thing in LISP.

can someone write me a program to print a string to console?

10 PRINT "string"
20 END

self-modifying code is a nightmare for state.

Code that writes code is cool tho.

Regarding latest Meltdown/Spectre things, is it possible to forbid for programs to read and modify memory which they are not intended to use by software means only?

Take it out of their virtual address space somehow

What do you think Meltdown got around?

actually I'm fairly ignorant about this, besides caching stuff, what is a cool self-modifying algorithm?

Hardware mechanisms of memory protection

no
you can make it more difficult but you can't make it impossible purely with software

Which provided the protection you're talking about

Well, I said what if that memory protection isn't available in hardware

man, just thinking about self-modifying algos in assembly makes my head hurt. I bet I could get a hold of it eventually but...just wow