home.social

#emit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #emit, aggregated by home.social.

  1. Today I expanded on the direct to backend compiler directives:

    #emit puts the given string directly on the source code as a LinearOp
    #funattr adds function attributes to the current function
    #global puts the string into the top of the generated file
    #local puts the string into the top of the current function

    With these in place you can do things like adding linear assembly (useful to insert optimization fences or other shenanigans), hookup instrumentation, and to configure your functions as you would with a C compiler (add always_inline, force loop unrolls, put a function into a given section, etc.). I think these form a base that could work for most or all backends I can think of, so they are not limited to the current C one.

    #badlang #pldev

  2. Today I expanded on the direct to backend compiler directives:

    #emit puts the given string directly on the source code as a LinearOp
    #funattr adds function attributes to the current function
    #global puts the string into the top of the generated file
    #local puts the string into the top of the current function

    With these in place you can do things like adding linear assembly (useful to insert optimization fences or other shenanigans), hookup instrumentation, and to configure your functions as you would with a C compiler (add always_inline, force loop unrolls, put a function into a given section, etc.). I think these form a base that could work for most or all backends I can think of, so they are not limited to the current C one.

    #badlang #pldev

  3. Today I expanded on the direct to backend compiler directives:

    #emit puts the given string directly on the source code as a LinearOp
    #funattr adds function attributes to the current function
    #global puts the string into the top of the generated file
    #local puts the string into the top of the current function

    With these in place you can do things like adding linear assembly (useful to insert optimization fences or other shenanigans), hookup instrumentation, and to configure your functions as you would with a C compiler (add always_inline, force loop unrolls, put a function into a given section, etc.). I think these form a base that could work for most or all backends I can think of, so they are not limited to the current C one.

    #badlang #pldev

  4. Today I expanded on the direct to backend compiler directives:

    #emit puts the given string directly on the source code as a LinearOp
    #funattr adds function attributes to the current function
    #global puts the string into the top of the generated file
    #local puts the string into the top of the current function

    With these in place you can do things like adding linear assembly (useful to insert optimization fences or other shenanigans), hookup instrumentation, and to configure your functions as you would with a C compiler (add always_inline, force loop unrolls, put a function into a given section, etc.). I think these form a base that could work for most or all backends I can think of, so they are not limited to the current C one.

    #badlang #pldev

  5. Today I expanded on the direct to backend compiler directives:

    #emit puts the given string directly on the source code as a LinearOp
    #funattr adds function attributes to the current function
    #global puts the string into the top of the generated file
    #local puts the string into the top of the current function

    With these in place you can do things like adding linear assembly (useful to insert optimization fences or other shenanigans), hookup instrumentation, and to configure your functions as you would with a C compiler (add always_inline, force loop unrolls, put a function into a given section, etc.). I think these form a base that could work for most or all backends I can think of, so they are not limited to the current C one.

    #badlang #pldev

  6. Last #DecemberAdventure day, but work won't stop after today, have a really long trip ahead still, and will celebrate new year's on the plane.

    In the meantime, I used the new `#emit` directives to move all the stdlib specific code from the backend into std and added the option to compile without main to create standalone lib code that could run on any target with a crt. I also added raw string literals that extend until (and including) the newline.

    I would like to fully get rid of the need for libc, but I'm not familiar enough with macos syscalls to start writing assembly for those, would probably do that on my linux machine after I'm back home.

    #pldev #badlang

  7. Some more #DecemberAdventure work from the bus:

    - Improved codegen to avoid generating code for unused functions.
    - Added the `#if` compiler directive for conditional compilation based on a given --flag.
    - Added the `#error` compiler directive to ensure we have a way to signal a compilation error in some path (for example, unimplemented library functions for a given OS and such).
    - Added the `#emit` compiler directive to be able to generate code directly on the backend verbatim. Now #badlang is a C macro assembler lol.

    Here is everything together.

    #pldev

  8. Now v1.3 is available and includes the EMIT reader.
    In addition, you'll get the following:
    - Sentinel-2 Geometry Up-scaling
    - Sentinel-2 5m Super-Resolution
    - Sentinel-2 Surface Reflectance Normalisation
    - ASTER L1T Reader
    - Coastal Map
    - SpeX
    - Asset Library

    eomasters.org/eom-software/eom

    #emit #EarthObservation #climate

  9. NASA’S #EMIT mission, placed on the International Space Station to learn how dust storms on Earth warm or cool the planet, has created the first complete maps of the world’s dust source regions, providing precise locations of 10 key minerals based on how they reflect and absorb light: psi.edu/blog/nasa-emit-instrum

  10. NASA-instrument aan boord ISS ziet meer dan 750 bronnen van broeikasgassen

    Het EMIT-instrument van de NASA, oorspronkelijk gebouwd om mineralen in kaart te brengen, overtreft alle verwachtingen.

    kuuke.nl/nasa-instrument-aan-b

    #aarde #broeikasgassen #EMIT #iss #klimaatverandering #methaan #nasa

  11. Study found #injured #plants #emit certain #chemicalcompounds which can infiltrate a healthy plant’s inner tissues and activate #defenses from within its cells. A better understanding of this mechanism could allow #scientists and #farmers to help fortify plants against #insect attacks or #drought long before they happen. study marks 1st x researchers have been able to visualize plant-to-plant communication nature.com/articles/s41467-023 #ClimateCrisis #farming #agriculture

  12. I wish I could write something for you
    My pages are not what you expect
    I do not have the wings that you seek
    The flow, the finesse
    I am too rough. My mouth opens
    Emitting dark moths
    And I am sorry for it
    Love hopes for rainbows
    For luminous butterflies
    And perhaps you wish for that
    Your smile fracturing when
    Your love goes crooked
    Malfunctioning
    I know you need other
    Not another, as you believe
    That you need me
    It’s all a lie, in the end

    #MastoPrompt #Emit #Poetry

  13. Not My Favorite

    This is not my favorite
    Version of me,
    I admit.

    Timorous, discordant
    Anxiety
    I emit.

    Until many fragments,
    Jagged pieces,
    Coalesce.

    Scar-shattered silence
    Ragged, peace-less
    Is my best.

    #poetry
    #MastoPrompt
    #emit

  14. So the Birdsite still emits
    fart sounds from its armpits
    Frankly, I don't give two shits
    I'm just glad I called it quits

    #MastoPrompt
    #emit
    #SmallPoems

  15. First light
    thick frost-fur
    snow-white
    out there
    Baltic cold
    until the sky blues
    brass-bold
    in brazen hues
    and gold spews
    sun from between
    crimped claws
    of grass-green.

    #MastoPrompt #poetry #smallpoems #emit #writing

  16. Die #NASA nutzt ein Staub-Messinstrument im All zur Ermittlung von #Methanquellen. Viele menschliche Quellen waren bisher unbekannt und die #Methankonzentration in der #Atmosphäre steigt seit Jahren mit unerwartet hohem Tempo. 50 neue große Quellen wurden hisher entdeckt, darunter Industrieanlagen und Mülldeponien in den USA und Asien.

    #EMIT #ISS #Raumstation #Klimawandel #Klimaschutz #Treibhausgase

    nzz.ch/wissenschaft/methan-das

  17. Die #NASA nutzt ein Staub-Messinstrument im All zur Ermittlung von #Methanquellen. Viele menschliche Quellen waren bisher unbekannt und die #Methankonzentration in der #Atmosphäre steigt seit Jahren mit unerwartet hohem Tempo. 50 neue große Quellen wurden hisher entdeckt, darunter Industrieanlagen und Mülldeponien in den USA und Asien.

    #EMIT #ISS #Raumstation #Klimawandel #Klimaschutz #Treibhausgase

    nzz.ch/wissenschaft/methan-das

  18. Die #NASA nutzt ein Staub-Messinstrument im All zur Ermittlung von #Methanquellen. Viele menschliche Quellen waren bisher unbekannt und die #Methankonzentration in der #Atmosphäre steigt seit Jahren mit unerwartet hohem Tempo. 50 neue große Quellen wurden hisher entdeckt, darunter Industrieanlagen und Mülldeponien in den USA und Asien.

    #EMIT #ISS #Raumstation #Klimawandel #Klimaschutz #Treibhausgase

    nzz.ch/wissenschaft/methan-das

  19. Die #NASA nutzt ein Staub-Messinstrument im All zur Ermittlung von #Methanquellen. Viele menschliche Quellen waren bisher unbekannt und die #Methankonzentration in der #Atmosphäre steigt seit Jahren mit unerwartet hohem Tempo. 50 neue große Quellen wurden hisher entdeckt, darunter Industrieanlagen und Mülldeponien in den USA und Asien.

    #EMIT #ISS #Raumstation #Klimawandel #Klimaschutz #Treibhausgase

    nzz.ch/wissenschaft/methan-das

  20. Die #NASA nutzt ein Staub-Messinstrument im All zur Ermittlung von #Methanquellen. Viele menschliche Quellen waren bisher unbekannt und die #Methankonzentration in der #Atmosphäre steigt seit Jahren mit unerwartet hohem Tempo. 50 neue große Quellen wurden hisher entdeckt, darunter Industrieanlagen und Mülldeponien in den USA und Asien.

    #EMIT #ISS #Raumstation #Klimawandel #Klimaschutz #Treibhausgase

    nzz.ch/wissenschaft/methan-das