Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Dan Wallach

@dwallach@discuss.systems
mastodon 4.7.3
  • Open on discuss.systems

AI Security Resident, RAND Center for AI, Security, and Technology (CAST); Professor Emeritus, Rice University, Department of Computer Science

567 Followers
873 Following
12 Posts
Joined November 23, 2022
Twitter:
https://twitter.com/danwallach
Github:
https://github.com/danwallach
Homepage:
https://www.cs.rice.edu/~dwallach/
Medium:
https://medium.com/@dwallach
Open post
Dan Wallach @dwallach@discuss.systems
· 1mo ago

Big news! I’ve started a new position today at RAND’s Center for AI, Security, and Technology (CAST). I'll be working on projects that allow me to use my technical expertise to inform policy and shape consequential decisions, such as mitigating the impacts of AI on computer security. It’s going to be an exciting new adventure.

Taking on this new role at RAND marks my departure from DARPA, where I’ve managed a portfolio of programs in cryptography and computer security. One highlight was launching TRACTOR (Translating All C to Rust), which is making remarkable progress at eliminating memory safety vulnerabilities, once and forever more.

I’m also retiring from Rice University, where I’ve been a faculty member since 1998. I’m deeply grateful to the colleagues and collaborators I’ve worked with, and to all of the students I’ve taught and advised over the years. In my new role at RAND, I look forward to staying connected with everyone as we work together on some of the most consequential technological and policy challenges of our generation.

https://www.rand.org/global-and-emerging-risks/centers/ai-security-and-technology.html

rand.org
21
0
5
0
Open post
Dan Wallach @dwallach@discuss.systems
· 4mo ago

Peter G. Neumann has passed away. 93 years old.

Update: John Markoff, at the New York Times, has published an obituary. https://www.nytimes.com/2026/05/17/obituaries/peter-g-neumann-dead.html

nytimes.com
39
0
23
0
Open post
Dan Wallach @dwallach@discuss.systems
· 2mo ago

Eric Rescorla has taken a 40-page swing at "what policy makers need to know about AI safety and security". Really interesting. https://educatedguesswork.org/assets/ai-security-policy.pdf

educatedguesswork.org
4
0
4
0
Open post
Dan Wallach @dwallach@discuss.systems
· 5mo ago
Replying to
@shriramk@mastodon.social When I was a grad student attending CCS '97 in Zürich, I ended up having an hour-long conversation with Ross Anderson in the otherwise empty hotel bar. Somehow I got over my fear and just approached him and introduced myself. Amazing, talking to a legend and having a real discussion about my career. More recently, on the paying it forward front, I was invited to a CRA event (representing DARPA, at the Watergate Hotel!) where I'd stay at a round table and ten fresh assistant professors would show up. We'd talk for 15 minutes, then DING, a fresh round and start over again. So, these kinds of things do occur, but they could definitely stand to happen more often. You just need to somehow break the ice, so prospective folks won't be afraid to even sign up.
7
1
3
0
Open post
Dan Wallach @dwallach@discuss.systems
· 5mo ago
Replying to
@shriramk@mastodon.social I was invited to give a keynote at NDSS. I gave the first talk of the day. After that, I had a huddle around me, in the hallway, for the entire rest of the day. Lots of junior faculty asking for career advice. While exhausting, it's intensely rewarding to pay it forward. I like your calendar idea. See if you can get other folks to do the same, and make it a bigger effort, get the conference organizers to announce it, etc.
6
4
1
0
Open post
Dan Wallach @dwallach@discuss.systems
· 9mo ago
Replying to
@mattblaze@federate.social @SteveBellovin@infosec.exchange @cstross@wandering.shop @Migueldeicaza@mastodon.social DARPA's TRACTOR (for which I'm the program manager) is focused on C to Rust, not C++. The Microsoft effort is unrelated to our effort. TRACTOR performer teams have been rolling for about six months now, and their first engagement with our test & evaluation team is going on now. As soon as it's ready, we'll push everything out for public release. There are many challenges with code translation: correctness, idiomaticity, performance. And there are many approaches. By the time we're done, we'll hopefully have good answers and good tools. (I could spend hours just on the topic of "C programmers do the darndest things", where it's sometimes unclear why something even compiles, much less what it's suppose to mean.)
14
2
1
0
Open post
Dan Wallach @dwallach@discuss.systems
· 5mo ago
Replying to
@darkuncle@infosec.exchange @joebeone@techpolicy.social TRACTOR needs to solve three problems: correctness, performance, and idiomaticity. Correctness, in the face of AI translation, requires providing evidence of equivalence. To further complicate things, we neither want nor require bug-for-bug, vulnerability-for-vulnerability equivalence. That gives the translation process a significant amount of wiggle room. Fundamentally, we're talking about open research challenges. We're working to figure out how to do it!
4
1
2
0
Open post
Dan Wallach @dwallach@discuss.systems
· 7mo ago

I've recently been playing around with vibe coding some basic tree-like data structures (treaps, red-black trees, AVL trees, and hash-array mapped tries) in Rust, and then twisting the arm of the LLM to do an optimization from Sarnak and Tarjan (1986) that lets you keep a version history without paying O(log n) path copying costs. This is the sort of thing that, in the old days, might have made for a useful undergraduate senior thesis that they'd crank on for a semester.

I'm at a point where I now have modest confidence in the correctness of my vibe code (e.g., it's got property-based tests that check the invariants, and also doesn't crash under load, despite lots of internal calls to Option::expect()), but I'm not confident enough to share it. It's not bad but not great.

At some point, I'll write up something useful about what I've learned about how to vibe code (in short, write vicious unit tests or you're doomed), but meanwhile I thought I'd skip straight to the data.

For comparison, I also included Rust's "im_rc" crate, which includes a human-written HAMT by
@bodil@social.treehouse.systems; I'm using the faster "Rc" version since that's how I vibe-coded all those others.

Punchline 1: @bodil@social.treehouse.systems wins. Their work is the "IM HashMap" in the graph. Higher is better. X-axis is problem size and Y-axis is throughput. The benchmark was 80% reads and 20% a mix of inserts, deletions, and updates. Every "version" is saved, creating (hopefully) real memory pressure.

Punchline 2:
The Sarnak-Tarjan optimization definitely helps for the various binary trees, but my attempt to do it for HAMT ended up costing a factor of two in perf. Yikes.

Graph below generated by Criterion.rs. Yes the colors are horrible. Measured on my M1 MacBook Air, because why not.

5
0
1
0
Open post
Dan Wallach @dwallach@discuss.systems
· 9mo ago

A useful explainer about why static type systems, in general, and Rust, in particular, are super useful for debugging code.
https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it

The Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin
blog.daniel-beskin.com

The Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin

The compiler is a powerful tool, yet many developers have a painful relationship with it. Can we do better?

3
2
3
0
Open post
Dan Wallach @dwallach@discuss.systems
· 5mo ago
Replying to
Update: Talk video is now online: https://youtu.be/3bAAVNKhsfY Webpage: https://www.ndss-symposium.org/ndss2026/keynote-by-prof-dan-wallach/

NDSS 2026 - Keynote 1: Solving the Memory Safety Problem, Once and for All

1
0
0
0
Open post
Dan Wallach @dwallach@discuss.systems
· 10mo ago

This is great: https://blog.trailofbits.com/2025/11/25/constant-time-support-lands-in-llvm-protecting-cryptographic-code-at-the-compiler-level/

LLVM 22 (and presumably all the subsequent versions) now have a constant time select intrinsic to enable cryptography algorithms to tell the compiler exactly what they need (i.e., evaluate both sides of a conditional expression then select the one you want), replacing gross bit hacking expressions that newer optimizers would unravel.

blog.trailofbits.com

https://blog.trailofbits.com/2025/12/02/introducing-constant-time-support-for-llvm-to-protect-cryptographic-code/

1
0
2
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 14:48:20 UTC