• Breaking News

    Saturday, December 26, 2020

    Why isn't Assembly universal, like regular programming languages? Computer Science

    Why isn't Assembly universal, like regular programming languages? Computer Science


    Why isn't Assembly universal, like regular programming languages?

    Posted: 25 Dec 2020 11:44 AM PST

    AFAIK assembly is different for each CPU architecture, but why? Couldn't the assembler just assemble into machine code that the specific CPU understands, like what happens with regular programming languages?

    Thanks

    submitted by /u/computer_man789
    [link] [comments]

    How are core libraries for a programming language written?

    Posted: 25 Dec 2020 10:37 AM PST

    For example such libraries which allow I/O, networking, etc. and others which enable other low level functions. Are they written in the language in which the compiler/interpreter is also written in? If yes, how are these libraries written for that language and so forth?

    Thanks

    submitted by /u/computer_man789
    [link] [comments]

    Biochem & CompSci Discord

    Posted: 26 Dec 2020 04:40 AM PST

    Hi Everyone,

    So as I'm sure many of you are aware, I set up a discord for cooperation between biochemists and computer scientists a couple weeks ago, just as a space where we can talk about the growing common ground in our fields and where people can develop skills and ask questions, it was massively successful in terms of membership, with over 500 in a few days, however due to my lack of organization and preparation for its popularity, the server was not well organized and engagement has been low!

    It's in a much better state now and I'll be trying to develop more of a community and build engagement over the next few weeks. If anyone wants to help out organizing challenges or community projects they would be greatly appreciated!

    Regardless, here's a permanent link to the Discord, thanks for your time! :)

    https://discord.gg/9VgE5USJb3

    submitted by /u/ProfessorProt
    [link] [comments]

    PSA: Computer code is a substance, grammatically.

    Posted: 25 Dec 2020 06:26 PM PST

    It's all good fun to laugh at idiotic "techy" characters, from technologically illiterate writers, directors, and actors, bragging about "having all the best codes," etc., but I'm starting to see this cringey language echoed to a disturbing degree online.

    While mocking and ridicule are legitimate tools for combating language ignorance, they are perhaps undeserved by the uninitiated and the non-native speaker, whose only education may be from these abysmal characters.

    So in case you were unaware, computer code is treated, grammatically, like a substance (in technical, grammatical terminology, it's "uncountable").

    Just as you don't spread "a butter" or "some butters" or on your toast, you don't write "a code" or "some codes". You write some code. And like a body of water, you might have a body of code, or a "codebase".

    "A code" is an encryption scheme, an encrypted message, an encryption key, or a representative symbol, but never a piece of computer code.

    submitted by /u/Passionless_
    [link] [comments]

    How to plan the paths for multiple agents?

    Posted: 25 Dec 2020 03:56 PM PST

    Hi,

    I am trying to create a routes for multiple vehicles given the daily orders of goods along with delivery addresses and preferred times of delivery for for some addresses.

    So far I have tried to solve the challenge with genetic algorithm but I would be glad if anyone suggested any alternative. I believe the problem has been studied and solved (e.g. express delivery services) but am not familiar with it.

    So given the list of orders (weight of order and delivery address for every item and arbitrary preferred delivery time), I would like to optimally allocate the items to available trucks (with various weight capacities) in order to deliver all the items. All the items are stored at the same location that is the starting point of all trucks.

    Does anyone know which algorithm is most suitable to solve this challenge?

    submitted by /u/ThickDoctor007
    [link] [comments]

    Was all software created with programming languages and could hardware function without software?

    Posted: 25 Dec 2020 10:46 AM PST

    AFAIK all software was written in a programming language, but I am not sure if there's some other way too.

    Another question, can hardware function without software? Or is software 100% necessary for hardware to function at all?

    submitted by /u/computer_man789
    [link] [comments]

    Phyrst - First order logic evaluator using python operators overloading

    Posted: 25 Dec 2020 07:22 AM PST

    Hello, I made this little library (for christmass?) that lets you define a first order Type, Theory and Model and evaluate Expressions on it. I got inspired from the logic courses I took this year.

    I think the implementation and the usage of phyrst Expressions are quite elegant and would love feedback about it :)

    A quick example is as follows:

    • You want: ∀𝑥 ∀𝑦 𝑥 ≤ 𝑦 ∧ 𝑦 ≤ 𝑥 ⇒ 𝑥 = 𝑦
    • You write: antisimetry = forall(x, forall(y, ((x <= y) & (y <= x)) >> (x == y)))

    Link: https://github.com/mateosss/phyrst

    submitted by /u/mateosss
    [link] [comments]

    CS course names are confusing

    Posted: 25 Dec 2020 08:05 PM PST

    So whats the difference between these courses.: computer organization, computer architecture, computer systems, computer systems architecture, computer organization and operating systems.

    Are computer org. and computer arch. the same thing? what about computer systems arch.?

    Also, isnt computer systems about the whole computer, from the hardware to software? So inst computer org and operating systems just a computer systems course?

    submitted by /u/Vast_Put8045
    [link] [comments]

    [D] 2020 in Review: 10 Nonfiction Books AI Experts Enjoyed Reading

    Posted: 25 Dec 2020 11:22 AM PST

    Synced has compiled a list of nonfiction books that notable AI researchers and engineers have recommended on Twitter over the last 12 months. We hope our readers will find these titles interesting, insightful and even inspirational; and that they can provide a pleasant respite in these times. Happy reading and happy holidays!

    Here is a quick read: 2020 in Review: 10 Nonfiction Books AI Experts Enjoyed Reading

    submitted by /u/Yuqing7
    [link] [comments]

    How can software which requires OS "access" be written for closed source OSes?

    Posted: 25 Dec 2020 10:01 AM PST

    For example, how can Antivirus (or viruses) software be written/developed, when the developers don't have the code and thus shouldn't be able to know how to OS works?

    submitted by /u/computer_man789
    [link] [comments]

    Do Turing Machines have logic gates?

    Posted: 25 Dec 2020 07:34 AM PST

    AFAIK some logic gates are necessary, and I don't know wether Turing Machines have any. If not, how can they work regardless?

    submitted by /u/computer_man789
    [link] [comments]

    Are transistors the lowest level/layer in a computer?

    Posted: 25 Dec 2020 11:13 AM PST

    As they represent the bits, right? If not, which part of the computer is the lowest layer/level?

    submitted by /u/computer_man789
    [link] [comments]

    Would it be worth it learning very little of binary/machine language directly?

    Posted: 25 Dec 2020 05:07 AM PST

    Just for example to be able to write a Hello World program or even easier. If yes, how/where can I learn it?

    submitted by /u/computer_man789
    [link] [comments]

    No comments:

    Post a Comment