#emit

2026-01-10

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

Badlang code showcasing some direct to backend code emission.
2025-12-31

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

Badlang code showcasing some raw literals in the form:
`fun add(x: Int, y: Int -> Int) = {
`.   x = y
`}
The bottom panel shows the output of printing this raw string.
2025-12-30

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

Example of #badlang code using conditional compilation and C backend top level direct emission.
2025-12-02

European Geosciences Union: Assessing the Detection of Methane Plumes in Offshore Areas Using High-Resolution Imaging Spectrometers (21 Oct 2025) - amt.copernicus.org/articles/18

This is a brilliant article using data from space-based spectrometers #EnMAP and #EMIT to detect and quantify #methane plumes offshore.

The oceans' low reflectivity makes detection harder, but using data when solar light is reflected to the sensor works as well as land.

#satellite #GHG #emissions #tracking

Osna.FMosnafm
2025-07-07

A long-standing pine forest in Hartheim am Rhein has suffered substantial and potentially irreversible damage due to prolonged periods of heat and drought since... news.osna.fm/?p=6681 |

2025-01-28

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

2023-12-21

Letztes Jahr wurde #EMIT an der #ISS installiert, um #Emissionen von #THG wie #Methan und #CO2 aufzuspüren.
EMIT fand in #Asien und #Nahost mehrere große Emissionsstellen, die in den nationalen Budgets nicht auftauchen.
Die größten Methanemittenten Zentralasiens sind #Turkmenistan, #Iran und #Kasachstan.

Solche #Emissionslügner weltweit zu enttarnen ist dringend nötig, darf aber natürlich nicht von unserer #Eigenverantwortung ablenken.

taz.de/Globaler-C02-Ausstoss/! via @tazgetroete

2023-12-15

このISSのミッションは気候科学についての考えを変えるかもしれないのです
https://www.space.com/nasa-emit-mission-climate-science-big-picture-mineral-map-iss

NASAのEMITミッションが、地球の鉱物ダスト源地域全体の包括的な地図を提供。ISSに基づく分光計によって収集されたデータから作成され、10種類の重要な鉱物の正確な位置を示す。EMIT地図は地球全体の鉱物分布を明らかにし、気候モデルの向上に貢献する。また

温室効果ガスのプルームや風に運ばれるダストの影響などの分野にも影響を与える。
#NASA #地球 #EMIT #ミッション

2023-12-11

NASAのセンサーが初めて乾燥地域の表面鉱物の世界地図を作成
https://www.nasa.gov/missions/emit/nasa-sensor-produces-first-global-maps-of-surface-minerals-in-arid-regions/

NASAが開発したEMITミッションが世界の鉱物埃源地域の包括的な地図を作成し、地表の鉱物成分についての詳細な情報を提供している。地球の気候変動への影響や生態系への影響の予測に役立つ。地上の鉱物成分を約410kmの高度からスキャンし、

これまでに55000以上のシーンを捉えている。また、メタンや二酸化炭素のプルームの検出、珍しい鉱物の発見なども可能。また、EMITデータは他の研究者や一般向けに利用可能。
#NASA #EMIT

2023-12-08

@NewsDesk

More (any!) #climate news. Knowing about Bloomberg NEF’s report on world Lion battery prices, #Nasa’s #EMIT data, Kiel Institute economists are recalibrating Germany’s position on #globalization. All climate topics with business and personal importance.

about.bnef.com/blog/lithium-io

jpl.nasa.gov/news/nasa-mission

dw.com/en/remaking-globalizati

Kuuke's Sterrenbeeldenkuuke@mastodon.nl
2023-11-22

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

2023-10-23

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

Joe :tinoflag:Antigrav@mastodon.nz
2022-12-18

If we don't emit
Love we're like the walking dead,
Zombies in disguise.

#MastoPrompt
#SmallPoems
#Poetry
#Haiku
#Emit
For 17th Dec

Madeleine Begun KaneMadKane@mas.to
2022-12-18

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst