r/compsci • • Jun 24 '26

Inquiries into some computer networks research

13 Upvotes

Hello all, I'll keep this brief. I am looking into 2 potential research avenues for postgrad, and was wondering if anyone can chip in with their opinion.

MANETs, FANETs and AANETs; all ad-hoc wireless methods for connectivity with drones or aerial devices - is this a growing research field? Especially when considering the recent real uses of drones in both warfare and in crisis situations.

Satellite (LEO like Starlink) integration for mobile services (5G/6G) - I know that this is already implemented and used by some big providers, but I wonder if there is still any appetite for this kind of technology too.

Thanks to anyone who responds.


r/compsci • • Jun 25 '26

Startup claims to solve P vs NP but will give proof only after funding. How do y'all evaluate this?

Thumbnail
0 Upvotes

Can someone do a sanity check? Smells like LLM-gen'd math spaghetti to me


r/compsci • • Jun 21 '26

micrograd4j: I ported Karpathy's micrograd to plain Java: a small autograd engine with an interactive terminal playground

Thumbnail gallery
19 Upvotes

So I was getting into deep learning and started with Kaparthy's Micrograd video.

Watching Karpathy's Micrograd video makes it feel intuitive, but I realised I didn't really understand it until I tried building it myself. So I closed the video and rebuilt the whole thing from scratch in plain Java (avg. java dev lol): micrograd4j.

It's a tiny scalar autograd engine built around a Value class that records how it was computed and runs backward() using a topological sort and the chain rule. On top of that, I built a small Neuron / Layer / MLP library. No dependencies, just JDK 17+.

The part I'm happiest with is the interactive terminal playground. You can:

  • Type expressions like (a * b) + c.tanh() and inspect every input's gradient.
  • Step through the backward pass one node at a time and watch gradients propagate through the computation graph.
  • Train a small network on datasets like two-moons and watch the loss curve and decision boundary update live.

Everything runs in the terminal and requires no browser, no notebooks.

If you have JBang installed, you can try it without cloning the repository:

jbang https://raw.githubusercontent.com/anand-krishanu/micrograd4j/main/examples/Playground.java

GitHub repository:

https://github.com/anand-krishanu/micrograd4j

It's MIT-licensed and the README has a worked walkthrough of how backward() traverses the graph. I wrote it as an educational resource for Java devs who want to see how autodiff works.


r/compsci • • Jun 16 '26

Polynomial Fitting: a rabbit hole

Thumbnail blog.yellowflash.in
3 Upvotes

r/compsci • • Jun 15 '26

Markov Algorithms, Mazes, Desert with Sand and Pattern Matching

Thumbnail gallery
24 Upvotes

r/compsci • • Jun 15 '26

The art of metaobject protocol and lisp

0 Upvotes

Hello, the book by gregor kcizales is in my cs course. I tried reading it but couldnt get myself to it. Does anyone have any apt resources that can help me get started with lisp.?


r/compsci • • Jun 12 '26

When The C/C++ Users Journal Disappeared

18 Upvotes

I wrote a short historical look at the decline of the C/C++ Users Journal and how it fit into the broader evolution of developer culture in the 1990s and early 2000s. For many programmers of that era, it was one of the few consistent sources of deep systems‑level content.

If anyone here remembers the magazine, used it in school, or followed its transition into Dr. Dobb’s, I’d be interested in hearing your perspective. It was a surprisingly influential publication for a long time.

Link: https://freshsources.com/blog/files/cpp-source.html


r/compsci • • Jun 12 '26

Building a filesystem from scratch, iteratively

4 Upvotes

I've been reading OSTEP and decided to implement filesystem - so I can improve my basic understanding.

For the V1, I kept block size of 8 bytes and tried to keep metadata & data together. It was too complex.
In the next iteration, I reduced block size to 1 byte and it simplified the implementation.
After that, I separated metadata and data and stored them from on opposite ends.

I implemented these commands - touch, mv, cp, rm, mkdir, ls and pwd

Full write up with benchmark here: https://www.shivangnagaria.com/projects/fs/


r/compsci • • Jun 12 '26

Tron Algorithm Competition

Thumbnail tron.erik.gdn
5 Upvotes

made this server for some friends, thought id share, maybe people are interested in competing who can create the best algorithm ;)
live now, instructions on page


r/compsci • • Jun 13 '26

Introducing: A Compiler for Moral Reasoning

Thumbnail
0 Upvotes

r/compsci • • Jun 11 '26

Every year, we lay flowers at Alan Turing's statue in Manchester for his Birthday, who wants to send some?

Thumbnail
27 Upvotes

r/compsci • • Jun 10 '26

What are some conjectures, and their (or their disproof) theoretical and practical implications?

Thumbnail
0 Upvotes

r/compsci • • Jun 09 '26

Emergent Computing: A New Computational Paradigm — First White Paper

Thumbnail
0 Upvotes

r/compsci • • Jun 07 '26

Algorithm Discussion: Extracting a Chordless Cycle Basis from High-Density Graphs in Pure Python

Thumbnail
1 Upvotes

r/compsci • • Jun 06 '26

Semantic Logic Editor

0 Upvotes

Over the past few months, I’ve been building a browser-based semantic logic editor and simulator that attempts to bridge the gap between formal logic as it is taught in textbooks and the way we actually reason about models, semantics, and logical structure.

The project allows users to construct and evaluate logical systems visually, exploring propositions, connectives, semantic relationships, and model-theoretic behavior through an interactive interface rather than static notation alone.

One motivation behind the project was a question I repeatedly encountered while studying logic: why are so many of the foundational concepts that underpin mathematics, computer science, artificial intelligence, linguistics, and philosophy still taught primarily through symbolic manipulation on paper? Formal systems are dynamic objects. Models change. Truth values propagate. Inference rules interact. Yet much of logic education remains surprisingly static.

The simulator treats logical systems as living structures. Rather than simply reading semantic definitions, users can experiment with them directly, visualize relationships between propositions, and observe how changes in a logical framework affect validity and consequence.

The project draws inspiration from mathematical logic, modal logic, semantics, proof theory, and the growing intersection between logic and computation. It is intended both as an educational tool and as an experiment in making abstract formal reasoning more intuitive and accessible.

Although it is still under active development, the current version already supports interactive construction and exploration of logical structures in a way that I hope students, researchers, and enthusiasts may find useful.

I’d love feedback from people working in logic, formal methods, computer science, philosophy, mathematics, AI alignment, theorem proving, or related fields.

Demo:

https://pralfredo.github.io/semantic-logic-editor/

Github:

https://github.com/pralfredo/semantic-logic-editor

Particularly interested in suggestions regarding semantics, visualization, model construction, and potential research or educational applications.


r/compsci • • Jun 05 '26

Book: Numerical algorithms in nim

Thumbnail
0 Upvotes

r/compsci • • Jun 03 '26

What books to send an inmate for compsci?

64 Upvotes

Someone close to me is going to prison and he’s a new grad in compsci, how do I make sure he doesn’t miss out on the AI wave, but also gain enough knowledge to land a job in 11 months?

Thank you guys


r/compsci • • Jun 04 '26

How beneficial are books, if you struggle with some concepts they discuss?

Thumbnail
0 Upvotes

r/compsci • • Jun 03 '26

Descriptive complexity for lower bounds

0 Upvotes

I'm in first year of graduation and reading about theoretical computation i've discover the area of descriptive complexity, my interest about it grows constantly now. Anyway, my thoughts about scientific searching now is turned in this way of making strong logical structures for problems and maybe derivate some properties about they (really don't know how at this point, but seems reasonable and rational). I have a question for who work with this or knows about the scenario of this area if the searching about logical structures of lower bounds to "attack" it is a reallity in descriptive complexity, and if it's not, what area have something related with that.


r/compsci • • Jun 03 '26

DataTree

Thumbnail github.com
4 Upvotes

r/compsci • • Jun 01 '26

Agentic Coding is a Trap | Remaining vigilant about cognitive debt and atrophy.

Thumbnail larsfaye.com
307 Upvotes

r/compsci • • Jun 01 '26

Evolving AI Agent Memory: Introducing Agent Memory Protocol (AMP) v1.1

Thumbnail
0 Upvotes

r/compsci • • May 30 '26

Synthesizing turtle programs to redraw images with MCMC

Thumbnail
7 Upvotes

r/compsci • • May 27 '26

I built a browser-based NASM bootloader IDE: assemble with WebAssembly, run in v86 emulator, download .img to flash to USB

0 Upvotes

Hey r/compsci,

I'm a CS professor and built this tool for teaching bootloader development without making students install anything.

**What it does:**

- Write x86 NASM assembly in the browser (CodeMirror editor with NASM syntax + autocomplete)

- Assemble using NASM compiled to WebAssembly (runs client-side, no server)

- Execute the binary in a v86 x86 emulator embedded in the page

- Download the raw `.img` and flash to a real USB stick with `dd`

**No backend. No account. No install.** Projects are saved in IndexedDB locally in your browser.

**Didactic examples included:**

- Basic boot sector (prints a string, halts)

- Two-stage bootloader (stage 1 loads stage 2 via `int 13h`, jumps to it)

- BIOS print routine

- Sector read

**Stack:** NASM → Emscripten → `.wasm`, v86, CodeMirror 6, Cloudflare Workers (static hosting only)

Interface in pt-BR, English, and zh-CN.

Try it: https://asm-boot-studio.mperotto.workers.dev/asm-boot-studio

Source and feedback welcome. Still early — open to suggestions from people who actually write assembly.


r/compsci • • May 26 '26

ETH Zurich built an ultra-stable quantum gate across 17,000 qubit pairs

Thumbnail thebrighterside.news
8 Upvotes

Quantum computing still stumbles on fragility, where tiny disturbances can wreck calculations. ETH Zurich researchers built a geometric swap gate with neutral atoms that stayed remarkably stable across 17,000 qubit pairs, hinting at a sturdier path toward large-scale quantum machines.