• 1 Post
  • 6 Comments
Joined 1Y ago
cake
Cake day: Jun 15, 2023

help-circle
rss

I have considered that approach. I’d probably do it in the cloud, in parallel, maybe even in a serverless compute environment. But it does seem like a big endeavor.


Any chance you’d be willing to share those results? The site isn’t accepting signups any more.


What search engine can find this line of code on Github?
https://github.com/ocelot-inc/ocelotgui/blob/19349c7334347eb37ef61b9694390581ea5db238/ocelotgui.cpp#L16896C5-L16896C29 I need to find this line of code based on the keywords "tnt_select" and "2^32", without specifying the repository because I'm looking for instances of the same bug in other projects. This repo is public, the file isn't obfuscated, the code is in the head of the default branch. I've tried Google, Github Code Search, Sourcegraph, and BigQuery on the Github data set. I've found a few ways to locate the .rst and .po documentation files that the bug was copied from, but none that find even this single example of it in actual source code files.
fedilink

Most people who “self host” things are still doing it on a server somewhere outside their home. Could be a VPS, a cloud instance, colocated bare metal, …


No, it can’t. The compiler can’t do anything with content from any file not explicitly passed to it. You’re mixing up the compiler and the linker (and the linker has nothing to do with either language, it can link binaries compiled from any language).


The unnamed language that is compiled by cc.

To elaborate… C[++] is really two different languages, with mostly distinct feature sets, handled in most cases by different compilers, interpreters, parsers, etc.

The unnamed language with keywords like #ifdef and #include which produces text output is a templating system that is functionally independent of the unnamed language with keywords like for and unsigned which actually compiles to a binary.

You can use cpp to run all the logic and conditionals in that first language to produce output, even if you replace the second language with something else like python or assembly.

You can use cc to compile that second language from source to binary, without support from the preprocessor.

That second language, the one that cc understands and compiles, does not have the ability to import functions or values or whatever from other files.