Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38380

Re: General programming question

Newsgroups comp.lang.javascript
Date 2020-04-27 23:57 -0700
References <550b935c-bd30-46bb-be47-df1a7c7cb13c@googlegroups.com>
Message-ID <57b5d710-e4a6-4a13-a3e7-dc262a2c8aea@googlegroups.com> (permalink)
Subject Re: General programming question
From Jonas Thörnvall <jonas.thornvall@gmail.com>

Show all headers | View raw


Den tisdag 28 april 2020 kl. 08:52:52 UTC+2 skrev Jonas Thörnvall:
> I have a question not Javascript related, i understand it probably should be done in assembler or machinecode, but i am just not up to it so i look for alternatives.
> 
> What programming language do have fast read write IO to file?
> It need to be able to read write continous, but not synchronus("half duplex"?)
> 
> And there is no need for multiple threads read and write to same file, just a single thread at half duplex "finding position and inserting".
> 
> Could python, do this in an efficient manner? 
> Or should i use C?
> 
> It is also a question about searching within the file at fastest speed possible.

I probably should also ask can you do incremental "inserts" to a file without need to rewrite the whole file? Is there such filehandling IO? A file allocation table seem to make inserts, but it is not a file?

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

General programming question Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-04-27 23:52 -0700
  Re: General programming question Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-04-27 23:57 -0700
    Re: General programming question JJ <jj4public@vfemail.net> - 2020-04-28 14:39 +0700
    Re: General programming question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-04-28 10:55 -0700
    Re: General programming question Arno Welzel <usenet@arnowelzel.de> - 2020-04-28 21:18 +0200
  Re: General programming question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-04-28 10:53 -0700

csiph-web