Jeff Preshing

@preshing

Canadian computer programmer.

Montreal, Canada
Gått med juli 2008

Tweets

Du blockerade @preshing

Är du säker på att du vill visa dessa Tweets? Visning av Tweets kommer inte att häva blockeringen av @preshing

  1. 23 apr.

    Finally implemented runtime error handling. Default behavior is to log an error message with a stack trace, then halt the script — like many other scripting languages.

    Visa denna tråd
    Ångra
  2. 15 apr.

    Just implemented the "dot" operator. You can now manipulate C++ class members from script! Still need to put some thought into runtime error handling, though (ie. what to do when the member is missing).

    Visa denna tråd
    Ångra
  3. 13 apr.

    Just added basic string support. One important feature is that when you write "${expression}" inside a string literal, the expression gets evaluated at runtime and substituted into the string. This is sometimes known as string interpolation (though I'm not a big fan of the name).

    Visa denna tråd
    Ångra
  4. 12 apr.

    Hold on to your Enter key, because this is a big one: ( parenthesized ) expressions! This incredible technology gives you complete control of evaluation order. 🤯🚨💥‼️🐐 Also, line breaks usually indicate the end of a statement, but that gets turned off inside parentheses.

    Visa denna tråd
    Ångra
  5. 12 apr.

    Improved error handling wherever expressions are expected. Previously, some parse errors would trigger a hard assert, because I wanted to focus on parsing "correct" code first. Those asserts are gone now; the parser will log an error and recover gracefully in all cases.

    Visa denna tråd
    Ångra
  6. 11 apr.

    All right, bools are now working. Before this change, everything was an unsigned int. It's a dynamically typed language; the interpreter keeps track of the type of every local variable and temporary object.

    Visa denna tråd
    Ångra
  7. 11 apr.

    Here's a lil scripting language I've been working on. No parser generator: Just a hand-written parser. No bytecode: The parse tree is "executed" directly. It integrates with C++ using reflection. Still WIP! I'll post the next few updates here 👇

    Visa denna tråd
    Ångra
  8. 5 apr.

    All of the recent awards show stage crashes have fallen sadly short of the greatness of Nathanial Hörnblowér at the 1994 VMAs.

    Ångra
  9. 30 jan.

    "We need to have a balanced and proportionate response to this virus. We have to look at the mental, the physical, the social, the economic and educational impact that this virus has had and learn from the last two years."

    Ångra
  10. 17 jan.

    They are convenient mathematical objects when writing code that deals with 3D rotations because they take less space than a matrix and because unlike Euler angles, they are easy to combine.

    Ångra
  11. 11 jan.

    One day the pandemic will be behind us, but for now it’s forcing us to examine ourselves. Kudos to the customers and staff for calmly dealing with this confused person. “This is not a movie set.” That's the Montreal I know. Makes me proud to live in this city.

    Ångra
  12. 1 jan.

    Happy New Year everyone. Here are some festive vibes straight from 1988.

    Ångra
  13. Retweetade
    25 dec. 2021

    for(float s,i,g,e,R;i++<1e2;){vec3 p=vec3((FC.xy-.5*r)/r.y*g,g-.6).yzx;e=1e3;s=.2;for(int j;j++<4;){s*=R=length(p);p=vec3(log(R),asin(p.z/R),atan(p.y,p.x)+t*.1)/PI*3.;p-=round(p);e=min(e,(length(p.xy)-.02)*s);}g+=e;o+=exp(-e*5e3)/1e2;}

    Ångra
  14. Retweetade
    16 dec. 2021

    Stop what you're doing now and spend the next seven minutes enjoying this beautiful video:

    Ångra
  15. 6 nov. 2021

    virus (minimizing contact with others, wearing a mask, keeping good hygiene, watching for symptoms). It’s possible to be unvaccinated and considerate towards others at the same time.

    Visa denna tråd
    Ångra
  16. 6 nov. 2021

    I disagree with the argument that says that if someone doesn’t get vaccinated against COVID-19, that person is like a “drunk driver” who endangers the safety of others. That’s not necessarily true. An unvaccinated person can still take other measures to limit the spread of the

    Visa denna tråd
    Ångra
  17. 5 sep. 2021

    So much talent in one video! Great fun to watch.

    Ångra
  18. Retweetade
    18 juni 2021

    "To be a programmer is to develop a carefully managed relationship with error." — Ellen Ullman

    Ångra
  19. 9 aug. 2021

    The computing platforms of the future should be designed with computer literacy in mind. Everything needs to be radically simpler and the user should always have a lens into what their applications are doing.

    Ångra
  20. 3 aug. 2021

    If an IDE was just as reliable, that would clearly be the better debugging experience, but as long as everything is built on bloated, fragile tech stacks, that's not likely to happen

    Visa denna tråd
    Ångra

Hämtningen verkar ta ett tag

Twitter kan vara överbelastat eller ha tillfälliga problem. Försök igen eller besök Twitter Status om du vill ha mer information.

    Du kanske också gillar

    ·