in computer science, what is fiber
Jump to turn (73)
- 1in computer science, what is fiber
- 2where name of fiber came from?
- 3could you explain with historical context?
- 4then what was first footprint of fiber? who writes about it? who implemented it
- 5could you give me a link about academic paper or reference point explain that?
- 6there must be some referential point of someone use the terminology of 'fiber' i
- 7as i searched myself fiber also has implemented in windows, win32. do you know w
- 8is there are prior mention of 'fiber', before windows nt 3.5?
- 9I'm pretty sure that concept of 'fiber' has developed before NT 3.5. but it is a
- 10so in terms of Windows NT 3.5 implementation of fiber, what might be different w
- 11how about green thread? green thread seems populized by java. what is different
- 12could you explain little bit more percicely about implicitly transferring in gre
- 13what you showed is python's implementation of coroutine. how about c++20 impleme
- 14didn't you say control flow transfer in windows nt 3.5 fiber is explicit before?
- 15I think you're confusing about coroutine because there are various of implementa
- 16cool what is estimated output? is it infinite? if so, print it with '...' so you
- 17so in fiber, a fiber runs it over and over after create of fiber?
- 18let say in Fiber1Proc, if there are no SwitchToFiber statements what is happens?
- 19it's quite weierd. then how is it possible that last code is infinite loop? isn'
- 20what happens after printing 'Fiber 2 running again\n' why is it not finished?
- 21there are no statements after 'Fiber 2 running again\n' isn't that fiber has fin
- 22so what is correct output then?
- 23really? think twice, it first switch to fiber1 and then 2 and then 1. think twic
- 24ok let's go back to the original question. in terms of 'explicit control flow tr
- 25how about python coroutine? python coroutine also use await keyword if your last
- 26what? you're last statement is contradict with what we talked previously think a
- 27how about fiber and green thread.
- 28in terms of control flow transfer
- 29you mean, in programmers perspective, does green thread in java does transfer co
- 30show me code it seems little contradict what you explained before
- 31ah kind of get it you mean, java green thread transfer control flow implicitly b
- 32so python coroutine is same in terms of that. is it right?
- 33how about c++ coroutine
- 34thank you for answer. could you summarize our talks about fiber, green thread, c
- 35when I searched Richard Rashid, he also implement Mach kernel, is there were sim
- 36so when was fiber introduced in windows nt 3.5 and green thread in java
- 37could you make more percise about year that has green thread implemented? I know
- 38when was java first introduce thread? it seems green thread at that time
- 39could you give any predates mention about it
- 40ok what kind of literature is that could you give me a link or write it for me.
- 41you talked about it early 1990s why is your evidence you can talk like that?
- 42could you quote for me earliest mention about green threads or threads in java
- 43i understand, buit is there are any article, quote, literature about 'early deve
- 44what is it 1995? isn't you speak that 1996? what is different?
- 45so threads has developed after java 1.0? is it true?
- 46what it's little confusing when was first release of java, and when was release
- 47so you mean, java was not released as 1.0? or am i misunderstood
- 48after some search I saw thread has developed first in Mach Kernel is it correct?
- 49cool, is it mean implement of fiber, richard did some role i guess?
- 50also thread?
- 51could you re-summarize include what we talked after summrize?
- 52it's little better to summarize with same form with first summarize with fiber,
- 53where is talking about 'control flow transfer' it must be included. also please
- 54please summarize when talk about control flow transfer is it implict or explict
- 55in terms of stackfulness how would be different and similar each constructs?
- 56let's be little more concrete, in terms of stackfulness, how green threads in ja
- 57is really green thead in java stackless? i've heard that they have use stackful.
- 58ok let's be concrete, compare the java 1.0 green thread and virtual thread in ja
- 59it's little confusing, i don't think that java 1.0 green thread managed by outsi
- 60in outside source i found that green thread has implemented at java 1.1, since i
- 61in windows nt 3.5, is fiber os managed or user-level thing?
- 62can you show some example code c++ 20 coroutine use with 'static\thread\pool' in
- 63'libunifex' library which is made by eric niebler? libunifex doesn't use corouti
- 64can you explain me what is similar and what is different with boost fiber and fi
- 65so.. what is different in resource level? is fiber in windows nt 3.5 acquire dif
- 66is boost fiber use windows nt 3.5 fiber underlying if is used under windows?
- 67how boost fiber is implemented in terms of 'control flow transfer'?
- 68could you show example code that use explicit context switching
- 69is boost fiber also include implicit control transfer using scheduler? if so sho
- 70in terms of PL perspective definition of coroutine, every function that can be s
- 71let's summarize everything we talked with enough details. about about green thre
- 72let's continue with windows nt 3.5 fiber and boost fiber, seperate its with same
- 73let's continue coroutine part, python coroutine and c++ 20 coroutine. when you t
- User
in computer science, what is fiber
- Assistant
In computer science, a fiber is a lightweight, user-level thread of execution. It is similar to a thread, but has a smaller overhead and is more efficient in terms of time and system resources. Fibers are also known as "lightweight threads" and "user-level threads". They allow a programmer to multiplex multiple, cooperative tasks within a single thread of execution, effectively allowing for multitasking within a single process.
- User
where name of fiber came from?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.