veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

293
active users

#llvm

5 posts5 participants0 posts today
JP Lehr<p>I have just set the first video public from our <a href="https://mast.hpc.social/tags/LLVM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLVM</span></a> <a href="https://mast.hpc.social/tags/Meetup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Meetup</span></a> in <a href="https://mast.hpc.social/tags/Darmstadt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Darmstadt</span></a>. </p><p>Expect to see more and more videos coming online as we bring online all our recordings. </p><p>Check it out: Sebastian Kreutzer - Selective Instrumentation with XRay [LLVM Meetup Darmstadt]<br><a href="https://youtu.be/bgWWzA3n3Jk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/bgWWzA3n3Jk</span><span class="invisible"></span></a></p><p><a href="https://mast.hpc.social/tags/HPC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HPC</span></a> <a href="https://mast.hpc.social/tags/Clang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clang</span></a> <br><span class="h-card" translate="no"><a href="https://fosstodon.org/@llvmweekly" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>llvmweekly</span></a></span> <br><span class="h-card" translate="no"><a href="https://mastodon.social/@llvm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>llvm</span></a></span></p>
lxsameer<p>I designed pass manager for <a href="https://mastodon.social/tags/Serene" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Serene</span></a> compiler in <a href="https://mastodon.social/tags/haskell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>haskell</span></a>. Just because the old implementation of mine had one and specially <a href="https://mastodon.social/tags/LLVM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLVM</span></a> and traditional compilers got one. But over time, the pass manager got simplified down to a series of functions and monad transformers.</p>
GripNews<p>🌘 [RFC] 編譯器強化模式 - Clang 前端<br>➤ 為了更安全的 C/C++ 程式碼:Clang 編譯器強化模式構想<br>✤ <a href="https://discourse.llvm.org/t/rfc-hardening-mode-for-the-compiler/87660" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.llvm.org/t/rfc-harde</span><span class="invisible">ning-mode-for-the-compiler/87660</span></a><br>本文提出在 Clang 編譯器中引入一個「強化模式」,旨在整合並簡化現有的多項安全與資安相關設定,以提升 C/C++ 程式的安全性。作者認為現有強化機制分散且文件不足,難以被使用者有效利用。新的強化模式將統一啟用多種編譯選項(如 -f, -m, -W 旗標)及預定義巨集,並可能要求使用較新的語言標準。文中探討了幾種實施方式,包括透過設定檔、新的驅動模式或單一綜合旗標,並尋求社羣對方向的建議。<br>+ 這個提議太棒了!長久以來都覺得 Clang 的安全設定很分散,希望這個強化模式能讓大家更容易寫出安全的程式碼。<br>+ 我比較擔心「使用者預期」的部分。如果啟用強化模式導致原本能編譯的程式碼突然不能編譯,使用者會不會有很大的意見?不過為了資安,這或許是必要的取捨。<br><a href="https://mastodon.social/tags/%E7%B7%A8%E8%AD%AF%E5%99%A8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>編譯器</span></a> <a href="https://mastodon.social/tags/%E5%AE%89%E5%85%A8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>安全</span></a> <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>++ <a href="https://mastodon.social/tags/Clang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clang</span></a> <a href="https://mastodon.social/tags/LLVM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLVM</span></a></p>

New setup, who dis? It's that time again, but some changes:

The most significant change isn't the hardware. For the first time with MAME on Haiku, the build script uses #LLVM 20's lld instead of GCC's ld. I'm hoping this is going to dramatically reduce build time. We shall see!

What I want vs what clang-format produces T_T

(No this can't be fixed, none of the 1000000 config options covers useful things, this is a whining post not a request for help. Unless you're a developer on clang-format you can't help me configure it, many have tried)

🌕 jank 程式語言 - Clojure/LLVM/C++
➤ Clojure 的高效能替代方案
jank-lang.org/
jank 是一種通用程式語言,它結合了 Clojure 的互動式、值導向特性,並追求原生編譯和最小化運行時環境。jank 與 Clojure 具有高度相容性,並將自身視為 Clojure 的一種方言。它以 C++ 為主機,並基於 LLVM 的 JIT,提供 REPL 互動開發的優勢,並能與原生世界無縫整合,效能可與 JVM 相提並論。jank 採用函數式優先的設計,延續了 Clojure 豐富的持久化、不可變數據結構,並提供軟體事務記憶體和反應式代理系統來處理多線程設計。
+ 「這聽起來很有趣!Clojure 的優點加上原生效能,可能解決了我在大型專案中遇到的瓶頸。」
+ 「雖然聽起來很棒,但畢竟還在開發中,穩定性可能需要時間驗證。」
#程式語言 #Clojure #LLVM #C++ #開發

jank-lang.orgjank programming language - Clojure/LLVM/C++jank is a Clojure dialect on LLVM with a native runtime and C++ interop.

🎉 Introducing "Jank," the #programming #language that bravely reinvents the wheel by fusing #Clojure with the thrill of rollercoaster maintenance! 🚀 Under construction with features as solid as a ghost, it's the love child of Clojure and #LLVM that only a mother could love. Prepare your best "it's not a bug, it's a feature" face! 😂
jank-lang.org/ #Jank #RollercoasterMaintenance #NotABug #HackerNews #ngated

jank-lang.orgjank programming language - Clojure/LLVM/C++jank is a Clojure dialect on LLVM with a native runtime and C++ interop.

Y'all wanna see an excessively cute trick LLVM's optimizer can do?

Swift String contains roughly this method:

```
func _fastCStringContents() -> UnsafePointer<UInt8> {
if isASCII {
return contentsPointer
}
return nil
}
```

Where `isASCII` is defined as `(flags & 0x8000_0000_0000_0000) != 0`

Would you expect this to generate (solution in reply)

Alas, looks like I’m going to have to switch from an LLVM to a GNU toolchain for this embedded ARM project, because LLVM doesn’t yet fully support the ARM FDPIC ABI—which is what supports multiple clients of a shared library with shared text and distinct read/write data on an MMUless system. (It works by making a loadable module’s globals relative to r9, just like the original PowerPC ABI made them relative to r2.) #llvm #embedded

github.com/llvm/llvm-project/i

GitHubclang: add support for ARM FDPIC ABI · Issue #146959 · llvm/llvm-projectBy eschaton
Replied in thread

@katyswain I din't think that #CCSS is good either, but the demands of #GPLv3 are not compatible with the (adnitteldy shitty) reality of how #IP, #Licensing and #Patents work and thus it kneecaps a lot of things.

I chose #0BSD for _OS/1337 because as with any "intellectual labour", one cannot force others to collaborate and I'd rather have people join in out of the goodness of their hearts instead of just dumping some random git commit that is useless.

Replied in thread
@laund@wetdry.world

If a project needs #BigTech money, it is controlled by Big Tech.

The control might be tighter or smoother, but it's there: the project cannot deviate from its sponsors will, whatever the developer community think about it.

To me, it doesn't matter how the money come, as deducible donation, as contracts to be the default search engine, as #Google summer of code, or as contributor employment: if you take their money, you serve them.
if you think ‘working with other people whose goals don’t 100% align with yours’ is a bad thing, please avoid LLVM.
Well, to be fair, I try not only to avoid #LLVM but any #programming language based on it.

Sure: you can ignore all the damage these corporations are doing to people all over the world, as resource extraction, as pollution, as energy consumption, as surveillance and people manipulation through #AdTech, as workers' oppression and work with them for years despite "working with other people whose goals don’t 100% align with yours" is not such a bad thing.

But I can not.

I guess it's matter of priority, isn't it?

To me an overcomplicated toolchain is a liability in itself, but if it's built with #GAFAM money, it's a cancer.

@david_chisnall@infosec.exchange @Dominix@mastodon.social
ABC News · Rash of Suicides in China where Apple Products are ProducedBy ABC News
Replied in thread
@Dominix@mastodon.social

Sure, not everybody using #LLVM is controlled by #BigTech, but they consolidate their power anyway by spreading dependencies over something that depends on BigTech money to exist.

"overwhelming"?

Tbh, I don't think so.

Whenever I see an interesting software developed in #Rust or #Go (not LLVM, but same issue) I look for alternative implementation and if I can't find any I simply forget about it. The issue is real and pretty evident with Go (and #Csharp) introduction of #telemetry, which was rapidly normalized by devs 'cause they were already locked-in like slaves.

LLVM just seems slightly different, but it's not, because of its complexity.
While it has its own issues, there are several good reasons why my favourite #ProgrammingLanguage in the real world is #C

Why not #Go?
Because it's from #Google.

Why not #Csharp or #Fsharp?
#Microsoft.

Why not #Rust or #Zig?
#LLVM (aka #Apple & friends).

Ultimately, most of languages I avoid like the plague are controlled by #BigTech one way or another.

C is simple enough to get several alternative compilers based on useful standards.² ³


¹ In theory I still prefer #Oberon07, but when I want to code something useful I still use C instead to lower the entry barrier for other devs, because there are too many incompatible implementations of the compiler and "standard" library.

² Ok, #Python, #Scheme and #Lua have similar qualities, but for the tools I write I usually prefer binary executables with no runtime.

³ No, #C++ is not an option. 😉
harmful.cat-v.orgBjarne Stroustrup: "I Did It For You All..."
Also I am curious about #FreeBSD with #ports and #poudriere, how do you guys manage #Firefox and possibly #LibreOffiice? It took me~5h to compile #LLVM default flavor on my laptop, I would just assume giants I listed above will take more than 10 hours? I still remember old days when I was using #Gentoo #Linux and whenever there was updates for them I had to keep my PC on overnight...But nowadays #Firefox seems to update more frequently, I dare not to compile few times a month.

#BSD #Unix #UseBSD #RUNBSD #FOSS